Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialState",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.003023/0.003029, allocations: 186.1 kB / 16.4 MB, free: 5.746 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.37/2.37, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001169/0.001168, allocations: 99.25 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5435/0.5435, allocations: 43.56 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007216/0.0007218, allocations: 11.94 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1372, allocations: 58.84 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4979/0.6352, allocations: 96.09 MB / 0.5727 GB, free: 6.465 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.6355, allocations: 67.97 kB / 0.5727 GB, free: 6.398 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1377/0.7732, allocations: 28.1 MB / 0.6002 GB, free: 10.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.7733, allocations: 0 / 0.6002 GB, free: 10.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000103/0.7734, allocations: 16 kB / 0.6002 GB, free: 10.26 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.005316/0.7787, allocations: 1.094 MB / 0.6012 GB, free: 9.117 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.7788, allocations: 8.031 kB / 0.6013 GB, free: 9.109 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003239/0.7792, allocations: 86.52 kB / 0.6013 GB, free: 9.016 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002845/0.7795, allocations: 91.53 kB / 0.6014 GB, free: 8.926 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/0.7816, allocations: 0.5908 MB / 0.602 GB, free: 8.293 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.738e-05/0.7817, allocations: 37 kB / 0.602 GB, free: 8.258 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.7819, allocations: 59.91 kB / 0.6021 GB, free: 8.199 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.7839, allocations: 0.6252 MB / 0.6027 GB, free: 7.516 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.774e-05/0.7839, allocations: 11.92 kB / 0.6027 GB, free: 7.504 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.391e-05/0.784, allocations: 20 kB / 0.6027 GB, free: 7.484 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.7841, allocations: 15.38 kB / 0.6027 GB, free: 7.473 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.7862, allocations: 0.4939 MB / 0.6032 GB, free: 6.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006955/0.7932, allocations: 2.7 MB / 0.6059 GB, free: 4.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/0.7956, allocations: 0.5936 MB / 0.6064 GB, free: 3.559 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.7958, allocations: 4 kB / 0.6065 GB, free: 3.555 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/0.7958, allocations: 42.88 kB / 0.6065 GB, free: 3.504 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 4.047e-06/0.7958, allocations: 0 / 0.6065 GB, free: 3.504 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.004812/0.8007, allocations: 1.206 MB / 0.6077 GB, free: 2.285 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.911e-05/0.8008, allocations: 144.4 kB / 0.6078 GB, free: 2.113 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.8023, allocations: 0.5779 MB / 0.6084 GB, free: 1.527 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.8024, allocations: 33.7 kB / 0.6084 GB, free: 1.488 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003497/0.8028, allocations: 362.5 kB / 0.6087 GB, free: 1.129 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/0.803, allocations: 185.4 kB / 0.6089 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-05/0.8031, allocations: 8 kB / 0.6089 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.8033, allocations: 334.8 kB / 0.6093 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.8045, allocations: 289.1 kB / 0.6095 GB, free: 328 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.806, allocations: 450 kB / 0.61 GB, free: 15.81 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.8073, allocations: 329.9 kB / 0.6103 GB, free: 15.49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.8073, allocations: 3.938 kB / 0.6103 GB, free: 15.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002911/0.8102, allocations: 0.7883 MB / 0.611 GB, free: 14.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008349/0.8111, allocations: 1.748 MB / 0.6128 GB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.8111, allocations: 11.98 kB / 0.6128 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.145e-05/0.8112, allocations: 8 kB / 0.6128 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.8125, allocations: 151.8 kB / 0.6129 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.578e-05/0.8126, allocations: 19.92 kB / 0.6129 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.8138, allocations: 95.58 kB / 0.613 GB, free: 12.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.033e-05/0.8139, allocations: 24 kB / 0.6131 GB, free: 12.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.8139, allocations: 4 kB / 0.6131 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002611/0.8165, allocations: 0.7194 MB / 0.6138 GB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.8165, allocations: 4.531 kB / 0.6138 GB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.8166, allocations: 12 kB / 0.6138 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.8178, allocations: 152.5 kB / 0.6139 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.243e-05/0.8178, allocations: 11.94 kB / 0.6139 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006862/0.8185, allocations: 67.66 kB / 0.614 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.851e-05/0.8186, allocations: 31.98 kB / 0.614 GB, free: 11.51 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005835/0.8192, allocations: 280.9 kB / 0.6143 GB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002863/0.8195, allocations: 79.02 kB / 0.6144 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.8198, allocations: 90.28 kB / 0.6145 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.8198, allocations: 4 kB / 0.6145 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.8198, allocations: 7.938 kB / 0.6145 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.8198, allocations: 7.984 kB / 0.6145 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002062/0.8219, allocations: 0.8414 MB / 0.6153 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.8219, allocations: 0 / 0.6153 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/0.8233, allocations: 111.9 kB / 0.6154 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.619e-05/0.8233, allocations: 11.92 kB / 0.6154 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-05/0.8234, allocations: 12 kB / 0.6154 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.8234, allocations: 4 kB / 0.6154 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8234, allocations: 0 / 0.6154 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003832/0.8273, allocations: 1.242 MB / 0.6166 GB, free: 8.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004617/0.8278, allocations: 204.1 kB / 0.6168 GB, free: 8.512 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.8279, allocations: 12 kB / 0.6168 GB, free: 8.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.829, allocations: 63.94 kB / 0.6169 GB, free: 8.438 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/0.8292, allocations: 39.94 kB / 0.6169 GB, free: 8.398 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.754e-05/0.8293, allocations: 19.94 kB / 0.617 GB, free: 8.379 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001153/0.8305, allocations: 463 kB / 0.6174 GB, free: 7.934 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.8305, allocations: 0 / 0.6174 GB, free: 7.934 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001197/0.8317, allocations: 200 kB / 0.6176 GB, free: 7.738 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004358/0.8361, allocations: 1.924 MB / 0.6195 GB, free: 5.781 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003986/0.8401, allocations: 1.022 MB / 0.6205 GB, free: 4.762 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.8401, allocations: 0 / 0.6205 GB, free: 4.762 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.8414, allocations: 305.2 kB / 0.6208 GB, free: 4.465 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/0.843, allocations: 173 kB / 0.6209 GB, free: 4.301 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/0.858, allocations: 7.807 MB / 0.6286 GB, free: 12.28 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008061/0.8589, allocations: 0.9731 MB / 0.6295 GB, free: 11.28 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007949/0.8597, allocations: 259.3 kB / 0.6298 GB, free: 11.03 MB / 458.7 MB Notification: Performance of SimCode: time 1.152e-06/0.8597, allocations: 0 / 0.6298 GB, free: 11.03 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.806/3.666, allocations: 11.7 MB / 0.6412 GB, free: 15.36 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialState.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat