Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test73",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.001598/0.001597, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.075/2.075, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001185/0.001184, allocations: 96.41 kB / 270.9 MB, free: 8.395 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.5297/0.5297, allocations: 43.55 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004938/0.000494, allocations: 12 kB / 431.5 MB, free: 6.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1411, allocations: 58.85 MB / 490.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.475/0.6162, allocations: 87.82 MB / 0.5646 GB, free: 14.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/0.6166, allocations: 79.95 kB / 0.5647 GB, free: 14.69 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03501/0.6516, allocations: 7.521 MB / 0.572 GB, free: 7.203 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6517, allocations: 4 kB / 0.572 GB, free: 7.199 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.903e-05/0.6517, allocations: 4 kB / 0.572 GB, free: 7.195 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009942/0.6527, allocations: 0.5195 MB / 0.5725 GB, free: 6.633 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.6528, allocations: 12.03 kB / 0.5725 GB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.703e-05/0.6529, allocations: 38.56 kB / 0.5726 GB, free: 6.574 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.115e-05/0.6529, allocations: 27.16 kB / 0.5726 GB, free: 6.551 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006487/0.6536, allocations: 278.5 kB / 0.5729 GB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.6536, allocations: 7.938 kB / 0.5729 GB, free: 6.234 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.6537, allocations: 8 kB / 0.5729 GB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.654, allocations: 95.3 kB / 0.573 GB, free: 6.121 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.6541, allocations: 4 kB / 0.573 GB, free: 6.117 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.6541, allocations: 3.984 kB / 0.573 GB, free: 6.113 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.6541, allocations: 1.031 kB / 0.573 GB, free: 6.113 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.6543, allocations: 39.97 kB / 0.573 GB, free: 6.074 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008153/0.6552, allocations: 472.8 kB / 0.5735 GB, free: 5.559 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/0.6556, allocations: 117.4 kB / 0.5736 GB, free: 5.426 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.6557, allocations: 4 kB / 0.5736 GB, free: 5.422 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003237/0.656, allocations: 105.8 kB / 0.5737 GB, free: 5.301 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 5.05e-06/0.656, allocations: 3.984 kB / 0.5737 GB, free: 5.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001459/0.6575, allocations: 368 kB / 0.574 GB, free: 4.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.6576, allocations: 85.09 kB / 0.5741 GB, free: 4.828 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006556/0.6583, allocations: 322 kB / 0.5744 GB, free: 4.512 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.6583, allocations: 29.7 kB / 0.5745 GB, free: 4.477 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.6584, allocations: 186.8 kB / 0.5746 GB, free: 4.289 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.608e-05/0.6585, allocations: 51.34 kB / 0.5747 GB, free: 4.238 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/0.6586, allocations: 0 / 0.5747 GB, free: 4.238 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6587, allocations: 322.8 kB / 0.575 GB, free: 3.914 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.6589, allocations: 39.98 kB / 0.575 GB, free: 3.875 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.6591, allocations: 84.66 kB / 0.5751 GB, free: 3.781 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.6593, allocations: 43.98 kB / 0.5752 GB, free: 3.738 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6593, allocations: 0 / 0.5752 GB, free: 3.738 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005319/0.6599, allocations: 169.6 kB / 0.5753 GB, free: 3.566 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.6599, allocations: 8 kB / 0.5753 GB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.6599, allocations: 1.031 kB / 0.5753 GB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.66, allocations: 4 kB / 0.5753 GB, free: 3.555 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.6602, allocations: 31.92 kB / 0.5754 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.6603, allocations: 4 kB / 0.5754 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.6605, allocations: 12.64 kB / 0.5754 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.6605, allocations: 8 kB / 0.5754 GB, free: 3.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002462/0.6607, allocations: 153.8 kB / 0.5755 GB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/0.6608, allocations: 35.66 kB / 0.5756 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007252/0.6616, allocations: 223.4 kB / 0.5758 GB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.6616, allocations: 0 / 0.5758 GB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.6616, allocations: 4 kB / 0.5758 GB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.872e-06/0.6616, allocations: 0 / 0.5758 GB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.663, allocations: 0.6671 MB / 0.5764 GB, free: 2.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.663, allocations: 3.938 kB / 0.5764 GB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.6632, allocations: 20 kB / 0.5765 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.6632, allocations: 0 / 0.5765 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.6632, allocations: 11.98 kB / 0.5765 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.728e-06/0.6632, allocations: 4 kB / 0.5765 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6632, allocations: 0 / 0.5765 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008252/0.6641, allocations: 414 kB / 0.5769 GB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.6643, allocations: 112.8 kB / 0.577 GB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.6644, allocations: 7.984 kB / 0.577 GB, free: 1.723 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.6646, allocations: 12 kB / 0.577 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.913e-05/0.6647, allocations: 19.94 kB / 0.577 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.6647, allocations: 7.984 kB / 0.577 GB, free: 1.684 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004777/0.6652, allocations: 257.9 kB / 0.5773 GB, free: 1.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6652, allocations: 0 / 0.5773 GB, free: 1.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005562/0.6658, allocations: 51.98 kB / 0.5773 GB, free: 1.379 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002495/0.6683, allocations: 1.531 MB / 0.5788 GB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005859/0.6689, allocations: 131.7 kB / 0.5789 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.669, allocations: 0 / 0.5789 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000244/0.6692, allocations: 64.5 kB / 0.579 GB, free: 15.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007105/0.6699, allocations: 49.56 kB / 0.579 GB, free: 15.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/0.6736, allocations: 1.834 MB / 0.5808 GB, free: 13.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/0.6742, allocations: 0.7557 MB / 0.5816 GB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.6744, allocations: 87.39 kB / 0.5817 GB, free: 12.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/0.6744, allocations: 0 / 0.5817 GB, free: 12.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.839/3.513, allocations: 4.248 MB / 0.5858 GB, free: 8.656 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat does not exist to compare? outputFormat=mat