Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001535/0.001535, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008302/0.0008303, allocations: 98.17 kB / 292.1 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.776e-05/2.787e-05, allocations: 4 kB / 350.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09307/0.09311, allocations: 51.48 MB / 402.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3306/0.4237, allocations: 79.86 MB / 482 MB, free: 9.586 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.424, allocations: 79.59 kB / 482.1 MB, free: 9.543 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01075/0.4348, allocations: 4.575 MB / 486.6 MB, free: 5.688 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.866e-06/0.4348, allocations: 7.984 kB / 486.7 MB, free: 5.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.4348, allocations: 4 kB / 486.7 MB, free: 5.676 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0005317/0.4354, allocations: 0.5109 MB / 487.2 MB, free: 5.145 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.4354, allocations: 8.031 kB / 487.2 MB, free: 5.137 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.135e-05/0.4355, allocations: 59.17 kB / 487.2 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.062e-05/0.4355, allocations: 33.14 kB / 487.3 MB, free: 5.055 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.4358, allocations: 263.4 kB / 487.5 MB, free: 4.781 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.4358, allocations: 18.38 kB / 487.5 MB, free: 4.773 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.4359, allocations: 22.12 kB / 487.6 MB, free: 4.758 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.4362, allocations: 249.8 kB / 487.8 MB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.4362, allocations: 0 / 487.8 MB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.4363, allocations: 11 kB / 487.8 MB, free: 4.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4363, allocations: 4 kB / 487.8 MB, free: 4.566 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.4365, allocations: 176 kB / 488 MB, free: 4.457 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.4378, allocations: 1.029 MB / 489 MB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.4381, allocations: 152.8 kB / 489.2 MB, free: 3.422 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.4384, allocations: 138 kB / 489.3 MB, free: 3.316 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.4384, allocations: 8 kB / 489.3 MB, free: 3.309 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.4384, allocations: 38.11 kB / 489.4 MB, free: 3.266 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.683e-06/0.4384, allocations: 0 / 489.4 MB, free: 3.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005472/0.439, allocations: 244.1 kB / 489.6 MB, free: 3.055 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/0.439, allocations: 51.41 kB / 489.6 MB, free: 2.992 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.4392, allocations: 205.2 kB / 489.8 MB, free: 2.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.4392, allocations: 33.7 kB / 489.9 MB, free: 2.785 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.4392, allocations: 178.1 kB / 490 MB, free: 2.633 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.4393, allocations: 65.34 kB / 490.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.4393, allocations: 7.188 kB / 490.1 MB, free: 2.574 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.703e-05/0.4393, allocations: 332.9 kB / 490.4 MB, free: 2.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.731e-05/0.4394, allocations: 48.94 kB / 490.5 MB, free: 2.219 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.212e-05/0.4395, allocations: 108 kB / 490.6 MB, free: 2.113 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.53e-05/0.4396, allocations: 64.23 kB / 490.7 MB, free: 2.074 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4396, allocations: 2.25 kB / 490.7 MB, free: 2.074 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005355/0.4402, allocations: 319.1 kB / 491 MB, free: 1.809 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.4402, allocations: 4 kB / 491 MB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4402, allocations: 8.031 kB / 491 MB, free: 1.797 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000192/0.4404, allocations: 60.08 kB / 491 MB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.4406, allocations: 43.92 kB / 491.1 MB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/0.4423, allocations: 1.774 MB / 492.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.4425, allocations: 39.42 kB / 492.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.4425, allocations: 11.69 kB / 492.9 MB, free: 15.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 8.962e-05/0.4426, allocations: 116 kB / 493 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.4427, allocations: 19.81 kB / 493 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.845e-05/0.4427, allocations: 24.83 kB / 493.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4427, allocations: 0 / 493.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.4428, allocations: 7.953 kB / 493.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.4428, allocations: 0 / 493.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009086/0.4437, allocations: 0.614 MB / 493.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4437, allocations: 4 kB / 493.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.4438, allocations: 31.98 kB / 493.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001386/0.444, allocations: 52.77 kB / 493.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.444, allocations: 4 kB / 493.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/0.446, allocations: 1.767 MB / 495.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4461, allocations: 0.8125 kB / 495.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006473/0.4467, allocations: 410.1 kB / 495.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-05/0.4468, allocations: 96.77 kB / 496 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.4468, allocations: 5.688 kB / 496 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.447, allocations: 19.98 kB / 496.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.4471, allocations: 19.97 kB / 496.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.4471, allocations: 8.062 kB / 496.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001405/0.4472, allocations: 161.4 kB / 496.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.4472, allocations: 0 / 496.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003838/0.4476, allocations: 71.84 kB / 496.3 MB, free: 12.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009476/0.4486, allocations: 0.946 MB / 497.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007607/0.4494, allocations: 350.1 kB / 497.6 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4494, allocations: 0 / 497.6 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005252/0.4499, allocations: 266.8 kB / 497.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.4502, allocations: 32.66 kB / 497.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.4525, allocations: 0.8003 MB / 498.7 MB, free: 9.859 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.4529, allocations: 0.7599 MB / 499.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.675e-05/0.453, allocations: 19.86 kB / 499.5 MB, free: 9.059 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.4531, allocations: 79.41 kB / 499.6 MB, free: 8.98 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4531, allocations: 0 / 499.6 MB, free: 8.98 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.4699, allocations: 4.781 MB / 0.4925 GB, free: 4.477 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/0.4701, allocations: 187.7 kB / 0.4927 GB, free: 4.254 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/2.129, allocations: 0 / 0.4927 GB, free: 4.254 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator_fmu --startTime=0 --stopTime=0.01 --timeout=50 --tolerance=0.0001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat does not exist to compare? outputFormat=mat