Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.Multivibrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001521/0.001521, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009348/0.0009349, allocations: 86.69 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.587e-05, allocations: 8 kB / 343.8 MB, free: 8.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1046, allocations: 51.48 MB / 395.3 MB, free: 4.609 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3427/0.4473, allocations: 79.03 MB / 474.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.4476, allocations: 78.16 kB / 474.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01089/0.4585, allocations: 4.29 MB / 478.7 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4586, allocations: 0 / 478.7 MB, free: 10.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.4586, allocations: 7.984 kB / 478.7 MB, free: 10.47 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.000612/0.4592, allocations: 0.4955 MB / 479.2 MB, free: 9.945 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.4593, allocations: 8.031 kB / 479.2 MB, free: 9.938 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.4593, allocations: 31.62 kB / 479.2 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.4596, allocations: 252.7 kB / 479.5 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.4596, allocations: 8 kB / 479.5 MB, free: 9.633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.4597, allocations: 15.61 kB / 479.5 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002434/0.4599, allocations: 145.3 kB / 479.6 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.4602, allocations: 165.7 kB / 479.8 MB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.4602, allocations: 4 kB / 479.8 MB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.4603, allocations: 3.984 kB / 479.8 MB, free: 9.395 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.4603, allocations: 4 kB / 479.8 MB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.4616, allocations: 0.9097 MB / 480.7 MB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/0.462, allocations: 161.2 kB / 480.9 MB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.4622, allocations: 98.14 kB / 481 MB, free: 8.371 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.4623, allocations: 7.984 kB / 481 MB, free: 8.363 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.4623, allocations: 41.95 kB / 481 MB, free: 8.316 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.4623, allocations: 0 / 481 MB, free: 8.316 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005621/0.4629, allocations: 219.6 kB / 481.2 MB, free: 8.125 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.4629, allocations: 55.41 kB / 481.3 MB, free: 8.059 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.4631, allocations: 169.7 kB / 481.4 MB, free: 7.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.4631, allocations: 25.7 kB / 481.5 MB, free: 7.879 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.4632, allocations: 171 kB / 481.6 MB, free: 7.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.4632, allocations: 46.73 kB / 481.7 MB, free: 7.688 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.4632, allocations: 0 / 481.7 MB, free: 7.688 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.731e-05/0.4633, allocations: 338.1 kB / 482 MB, free: 7.355 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.293e-05/0.4633, allocations: 41.12 kB / 482.1 MB, free: 7.332 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.383e-05/0.4634, allocations: 89.58 kB / 482.1 MB, free: 7.246 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.156e-05/0.4635, allocations: 60.09 kB / 482.2 MB, free: 7.207 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4635, allocations: 0 / 482.2 MB, free: 7.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005086/0.464, allocations: 271.9 kB / 482.5 MB, free: 6.977 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.4642, allocations: 0.6109 MB / 483.1 MB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.4642, allocations: 4 kB / 483.1 MB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002112/0.4644, allocations: 57.39 kB / 483.1 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.4645, allocations: 39.97 kB / 483.2 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003242/0.4649, allocations: 0.5904 MB / 483.8 MB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.465, allocations: 23.89 kB / 483.8 MB, free: 5.633 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.4651, allocations: 11.69 kB / 483.8 MB, free: 5.625 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.673e-06/0.4651, allocations: 4 kB / 483.8 MB, free: 5.621 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002137/0.4653, allocations: 142.2 kB / 483.9 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.4653, allocations: 4 kB / 484 MB, free: 5.512 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.138e-05/0.4654, allocations: 28.77 kB / 484 MB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.4655, allocations: 43.92 kB / 484 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006765/0.4662, allocations: 1.264 MB / 485.3 MB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.624e-05/0.4663, allocations: 11.84 kB / 485.3 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.4663, allocations: 13.08 kB / 485.3 MB, free: 4.098 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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 0.000134/0.4665, allocations: 120.2 kB / 485.4 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004412/0.4669, allocations: 213 kB / 485.6 MB, free: 3.789 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.467, allocations: 19.77 kB / 485.7 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.5e-05/0.467, allocations: 26.27 kB / 485.7 MB, free: 3.758 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.467, allocations: 4 kB / 485.7 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.467, allocations: 0 / 485.7 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.467, allocations: 4 kB / 485.7 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007109/0.4678, allocations: 0.5374 MB / 486.2 MB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4678, allocations: 0 / 486.2 MB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.956e-05/0.4679, allocations: 23.23 kB / 486.2 MB, free: 3.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/0.468, allocations: 47.47 kB / 486.3 MB, free: 3.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.468, allocations: 3.984 kB / 486.3 MB, free: 3.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/0.4696, allocations: 1.706 MB / 488 MB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4696, allocations: 0 / 488 MB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000522/0.4701, allocations: 375.9 kB / 488.4 MB, free: 1.168 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.4702, allocations: 96.84 kB / 488.5 MB, free: 1.055 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.4702, allocations: 0 / 488.5 MB, free: 1.055 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.4704, allocations: 19.98 kB / 488.5 MB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/0.4704, allocations: 15.17 kB / 488.5 MB, free: 1.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.4704, allocations: 4 kB / 488.5 MB, free: 1.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.427e-05/0.4705, allocations: 155.2 kB / 488.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4705, allocations: 0 / 488.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004445/0.471, allocations: 103.6 kB / 488.8 MB, free: 0.7891 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0007837/0.4718, allocations: 0.9093 MB / 489.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005329/0.4723, allocations: 309.2 kB / 490 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4723, allocations: 4 kB / 490 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005283/0.4729, allocations: 251.8 kB / 490.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.4731, allocations: 26.11 kB / 490.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.4755, allocations: 0.7164 MB / 491 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.4758, allocations: 0.7562 MB / 491.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001242/0.4759, allocations: 28.34 kB / 491.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.476, allocations: 62.33 kB / 491.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of SimCode: time 3.2e-07/0.476, allocations: 0 / 491.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.4994, allocations: 4.09 MB / 495.9 MB, free: 9.828 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/0.4996, allocations: 148.2 kB / 496 MB, free: 9.637 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.237, allocations: 0 / 496 MB, free: 9.637 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat does not exist to compare? outputFormat=mat