Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.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.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test39",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.001602/0.001602, allocations: 185.9 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.255/2.255, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001199/0.001199, allocations: 94 kB / 270.9 MB, free: 8.375 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.5859/0.5859, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004916/0.0004918, allocations: 16 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1379, allocations: 58.86 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4858/0.6237, allocations: 87.54 MB / 0.5643 GB, free: 15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/0.6241, allocations: 79.95 kB / 0.5644 GB, free: 14.92 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02452/0.6486, allocations: 5.246 MB / 0.5695 GB, free: 9.723 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.488e-06/0.6487, allocations: 3.984 kB / 0.5695 GB, free: 9.719 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.079e-05/0.6487, allocations: 8 kB / 0.5695 GB, free: 9.711 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007124/0.6495, allocations: 405.8 kB / 0.5699 GB, free: 9.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.6495, allocations: 12.03 kB / 0.5699 GB, free: 9.258 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.901e-05/0.6496, allocations: 30.56 kB / 0.57 GB, free: 9.219 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.6497, allocations: 11.34 kB / 0.57 GB, free: 9.211 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/0.6501, allocations: 225.8 kB / 0.5702 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.6501, allocations: 0 / 0.5702 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.6501, allocations: 0 / 0.5702 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.6503, allocations: 53.61 kB / 0.5702 GB, free: 8.895 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.6503, allocations: 0 / 0.5702 GB, free: 8.895 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.6504, allocations: 4 kB / 0.5702 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.6504, allocations: 0 / 0.5702 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.6505, allocations: 17.02 kB / 0.5703 GB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.6508, allocations: 189.6 kB / 0.5704 GB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.6511, allocations: 54.55 kB / 0.5705 GB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.6511, allocations: 0 / 0.5705 GB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/0.6513, allocations: 67.48 kB / 0.5706 GB, free: 8.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.903e-06/0.6513, allocations: 0 / 0.5706 GB, free: 8.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004638/0.6518, allocations: 93.58 kB / 0.5707 GB, free: 8.402 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.6519, allocations: 59.34 kB / 0.5707 GB, free: 8.332 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.6522, allocations: 169.3 kB / 0.5709 GB, free: 8.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.6522, allocations: 33.7 kB / 0.5709 GB, free: 8.121 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.71e-05/0.6523, allocations: 158.6 kB / 0.5711 GB, free: 7.965 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.6523, allocations: 15.81 kB / 0.5711 GB, free: 7.949 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.6524, allocations: 0 / 0.5711 GB, free: 7.949 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.6525, allocations: 310.8 kB / 0.5714 GB, free: 7.637 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.765e-05/0.6526, allocations: 19.98 kB / 0.5714 GB, free: 7.617 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.659e-05/0.6527, allocations: 29.7 kB / 0.5714 GB, free: 7.582 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.484e-05/0.6528, allocations: 19.95 kB / 0.5714 GB, free: 7.562 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.6528, allocations: 0 / 0.5714 GB, free: 7.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002601/0.6531, allocations: 82.48 kB / 0.5715 GB, free: 7.477 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.6531, allocations: 4 kB / 0.5715 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.6532, allocations: 0 / 0.5715 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.6532, allocations: 0 / 0.5715 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.6533, allocations: 16.03 kB / 0.5715 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.6533, allocations: 0 / 0.5715 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.851e-05/0.6534, allocations: 8.734 kB / 0.5715 GB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.6535, allocations: 0 / 0.5715 GB, free: 7.449 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001503/0.6536, allocations: 129.7 kB / 0.5717 GB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.6537, allocations: 12.12 kB / 0.5717 GB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000342/0.654, allocations: 105.9 kB / 0.5718 GB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.654, allocations: 0 / 0.5718 GB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.6541, allocations: 4 kB / 0.5718 GB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.6541, allocations: 4 kB / 0.5718 GB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.6543, allocations: 197.5 kB / 0.572 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.6543, allocations: 3.953 kB / 0.572 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.123e-05/0.6544, allocations: 4 kB / 0.572 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.6544, allocations: 0 / 0.572 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.6544, allocations: 3.984 kB / 0.572 GB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.6544, allocations: 0 / 0.572 GB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6545, allocations: 4 kB / 0.572 GB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.6548, allocations: 117 kB / 0.5721 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.183e-05/0.6549, allocations: 92.97 kB / 0.5722 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.6549, allocations: 3.984 kB / 0.5722 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.655, allocations: 4 kB / 0.5722 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.6551, allocations: 3.938 kB / 0.5722 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.6551, allocations: 4 kB / 0.5722 GB, free: 6.668 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001996/0.6553, allocations: 144.8 kB / 0.5723 GB, free: 6.527 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6553, allocations: 0 / 0.5723 GB, free: 6.527 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003201/0.6556, allocations: 28 kB / 0.5724 GB, free: 6.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001874/0.6575, allocations: 0.9585 MB / 0.5733 GB, free: 5.617 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002692/0.6578, allocations: 43.98 kB / 0.5733 GB, free: 5.574 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.6578, allocations: 0 / 0.5733 GB, free: 5.574 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.658, allocations: 31.98 kB / 0.5734 GB, free: 5.543 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.6583, allocations: 19.98 kB / 0.5734 GB, free: 5.523 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.6601, allocations: 0.8258 MB / 0.5742 GB, free: 4.645 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.6605, allocations: 0.7004 MB / 0.5749 GB, free: 3.918 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.6606, allocations: 31.42 kB / 0.5749 GB, free: 3.887 MB / 394.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6606, allocations: 0 / 0.5749 GB, free: 3.887 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.803/3.464, allocations: 2.219 MB / 0.5771 GB, free: 1.676 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat does not exist to compare? outputFormat=mat