Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002394/0.002394, allocations: 181.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.206/2.206, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.262e-05/3.265e-05, allocations: 4 kB / 321.6 MB, free: 17.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1039, allocations: 47.58 MB / 369.2 MB, free: 2.09 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4252/0.5291, allocations: 79.3 MB / 448.5 MB, free: 13.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.5295, allocations: 79.61 kB / 448.6 MB, free: 13.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03073/0.5602, allocations: 6.064 MB / 454.6 MB, free: 8.711 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5603, allocations: 4 kB / 454.6 MB, free: 8.707 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.077e-05/0.5603, allocations: 12 kB / 454.7 MB, free: 8.695 MB / 330.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.001613/0.562, allocations: 0.5879 MB / 455.2 MB, free: 8.078 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.562, allocations: 8.031 kB / 455.3 MB, free: 8.07 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.5622, allocations: 57.86 kB / 455.3 MB, free: 8.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.5623, allocations: 31.62 kB / 455.3 MB, free: 7.988 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005727/0.5629, allocations: 286.3 kB / 455.6 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.563, allocations: 16 kB / 455.6 MB, free: 7.684 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.739e-05/0.563, allocations: 27.75 kB / 455.7 MB, free: 7.664 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005957/0.5636, allocations: 217 kB / 455.9 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.5637, allocations: 0 / 455.9 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.946e-05/0.5637, allocations: 3.938 kB / 455.9 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.5638, allocations: 8 kB / 455.9 MB, free: 7.504 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005279/0.5643, allocations: 175.9 kB / 456.1 MB, free: 7.395 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00286/0.5672, allocations: 0.9623 MB / 457 MB, free: 6.547 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006744/0.5679, allocations: 276.4 kB / 457.3 MB, free: 6.312 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.5682, allocations: 95.55 kB / 457.4 MB, free: 6.246 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/0.5683, allocations: 0 / 457.4 MB, free: 6.246 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003793/0.5687, allocations: 143.9 kB / 457.5 MB, free: 6.113 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 2.224e-06/0.5687, allocations: 96 / 457.5 MB, free: 6.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009165/0.5696, allocations: 228.5 kB / 457.7 MB, free: 5.922 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.801e-05/0.5698, allocations: 114.8 kB / 457.9 MB, free: 5.785 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004151/0.5702, allocations: 237.1 kB / 458.1 MB, free: 5.582 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.447e-05/0.5703, allocations: 33.45 kB / 458.1 MB, free: 5.547 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.5705, allocations: 237.2 kB / 458.4 MB, free: 5.336 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.03e-05/0.5706, allocations: 54.77 kB / 458.4 MB, free: 5.289 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.5706, allocations: 7.938 kB / 458.4 MB, free: 5.285 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.5708, allocations: 322.5 kB / 458.7 MB, free: 4.965 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.571, allocations: 59.48 kB / 458.8 MB, free: 4.926 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.5713, allocations: 134.8 kB / 458.9 MB, free: 4.793 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.5715, allocations: 97.19 kB / 459 MB, free: 4.715 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.5715, allocations: 0 / 459 MB, free: 4.715 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009763/0.5725, allocations: 313.6 kB / 459.3 MB, free: 4.453 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003316/0.5729, allocations: 0.6412 MB / 460 MB, free: 3.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.5729, allocations: 0 / 460 MB, free: 3.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002552/0.5732, allocations: 36.23 kB / 460 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005336/0.5737, allocations: 71.88 kB / 460.1 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005705/0.5743, allocations: 0.5554 MB / 460.6 MB, free: 3.105 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006453/0.575, allocations: 59.73 kB / 460.7 MB, free: 3.051 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.575, allocations: 8 kB / 460.7 MB, free: 3.043 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.5751, allocations: 4 kB / 460.7 MB, free: 3.039 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006618/0.5757, allocations: 238.9 kB / 460.9 MB, free: 2.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.5758, allocations: 3.953 kB / 460.9 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001132/0.5759, allocations: 28.11 kB / 461 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004913/0.5764, allocations: 63.52 kB / 461 MB, free: 2.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.5778, allocations: 1.38 MB / 462.4 MB, free: 1.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005063/0.5784, allocations: 47.38 kB / 462.4 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.5784, allocations: 12.09 kB / 462.5 MB, free: 1.258 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001738/0.5786, allocations: 123.8 kB / 462.6 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.591e-05/0.5787, allocations: 23.72 kB / 462.6 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.574e-05/0.5788, allocations: 28.64 kB / 462.6 MB, free: 1.098 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.5788, allocations: 4 kB / 462.6 MB, free: 1.094 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5788, allocations: 144 / 462.6 MB, free: 1.094 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.5789, allocations: 3.984 kB / 462.6 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.5804, allocations: 0.6458 MB / 463.3 MB, free: 400 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.5804, allocations: 0 / 463.3 MB, free: 400 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000452/0.5809, allocations: 48 kB / 463.3 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001548/0.581, allocations: 28.84 kB / 463.4 MB, free: 320 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.5811, allocations: 7.984 kB / 463.4 MB, free: 312 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.5828, allocations: 1.359 MB / 464.7 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.5829, allocations: 4.031 kB / 464.7 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.584, allocations: 428.9 kB / 465.1 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.5842, allocations: 104.8 kB / 465.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.5843, allocations: 4 kB / 465.3 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005091/0.5848, allocations: 39.95 kB / 465.3 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.5849, allocations: 23.97 kB / 465.3 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.585, allocations: 12.06 kB / 465.3 MB, free: 14.17 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003112/0.5853, allocations: 187.1 kB / 465.5 MB, free: 13.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5853, allocations: 0 / 465.5 MB, free: 13.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007921/0.5861, allocations: 131.7 kB / 465.6 MB, free: 13.86 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001644/0.5878, allocations: 1.04 MB / 466.7 MB, free: 12.78 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.5891, allocations: 0.4956 MB / 467.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.5891, allocations: 0 / 467.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004285/0.5895, allocations: 194.6 kB / 467.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.5901, allocations: 45.31 kB / 467.4 MB, free: 12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.5918, allocations: 456.3 kB / 467.9 MB, free: 11.51 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.5923, allocations: 0.7641 MB / 468.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/0.5926, allocations: 87.41 kB / 468.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of SimCode: time 1.312e-06/0.5926, allocations: 0 / 468.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.832/3.424, allocations: 5.529 MB / 474.2 MB, free: 5.098 MB / 346.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_LowPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat does not exist to compare? outputFormat=mat