Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test77",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.001686/0.001692, allocations: 186.7 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.014/2.014, 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.001772/0.001772, allocations: 92.42 kB / 270.9 MB, free: 8.391 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.5248/0.5248, allocations: 43.55 MB / 362.7 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004644/0.0004646, allocations: 12 kB / 431.5 MB, free: 6.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1238, allocations: 58.86 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4819/0.6057, allocations: 87.81 MB / 0.5646 GB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003821/0.6062, allocations: 79.95 kB / 0.5647 GB, free: 14.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04814/0.6544, allocations: 7.525 MB / 0.572 GB, free: 7.312 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.857e-06/0.6544, allocations: 4 kB / 0.572 GB, free: 7.309 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.162e-05/0.6545, allocations: 4 kB / 0.572 GB, free: 7.305 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.001404/0.6559, allocations: 0.5166 MB / 0.5725 GB, free: 6.742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.433e-05/0.656, allocations: 8.031 kB / 0.5725 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.559e-05/0.6561, allocations: 42.55 kB / 0.5726 GB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.6563, allocations: 31.16 kB / 0.5726 GB, free: 6.656 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009299/0.6572, allocations: 274.5 kB / 0.5729 GB, free: 6.352 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.6573, allocations: 4 kB / 0.5729 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/0.6573, allocations: 11.94 kB / 0.5729 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/0.6578, allocations: 99.28 kB / 0.573 GB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.6578, allocations: 0 / 0.573 GB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.6579, allocations: 7.984 kB / 0.573 GB, free: 6.219 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.6579, allocations: 1.031 kB / 0.573 GB, free: 6.219 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/0.6582, allocations: 39.97 kB / 0.573 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.6594, allocations: 464.8 kB / 0.5735 GB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006393/0.6601, allocations: 121.4 kB / 0.5736 GB, free: 5.535 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.6602, allocations: 4 kB / 0.5736 GB, free: 5.531 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005019/0.6607, allocations: 113.8 kB / 0.5737 GB, free: 5.402 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 4.097e-06/0.6607, allocations: 0 / 0.5737 GB, free: 5.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001947/0.6627, allocations: 364 kB / 0.574 GB, free: 5.039 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.707e-05/0.6628, allocations: 85.11 kB / 0.5741 GB, free: 4.938 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008722/0.6637, allocations: 322 kB / 0.5744 GB, free: 4.621 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.694e-05/0.6638, allocations: 29.7 kB / 0.5745 GB, free: 4.586 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.664, allocations: 186.8 kB / 0.5746 GB, free: 4.398 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.6641, allocations: 51.34 kB / 0.5747 GB, free: 4.348 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/0.6641, allocations: 0 / 0.5747 GB, free: 4.348 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.6643, allocations: 322.8 kB / 0.575 GB, free: 4.023 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.6646, allocations: 47.91 kB / 0.575 GB, free: 3.977 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.6649, allocations: 76.78 kB / 0.5751 GB, free: 3.891 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.6652, allocations: 40 kB / 0.5751 GB, free: 3.852 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6652, allocations: 3.938 kB / 0.5752 GB, free: 3.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007227/0.666, allocations: 161.5 kB / 0.5753 GB, free: 3.684 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/0.666, allocations: 16.05 kB / 0.5753 GB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.6661, allocations: 3.938 kB / 0.5753 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.6661, allocations: 4 kB / 0.5753 GB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.6664, allocations: 35.92 kB / 0.5754 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.6665, allocations: 4 kB / 0.5754 GB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.6667, allocations: 7.906 kB / 0.5754 GB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.6668, allocations: 8 kB / 0.5754 GB, free: 3.605 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.0003101/0.6671, allocations: 158.5 kB / 0.5755 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.6672, allocations: 31.67 kB / 0.5756 GB, free: 3.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009525/0.6682, allocations: 219.5 kB / 0.5758 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.6682, allocations: 0 / 0.5758 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.6682, allocations: 4 kB / 0.5758 GB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.6683, allocations: 3.984 kB / 0.5758 GB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.6701, allocations: 0.6593 MB / 0.5764 GB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.6701, allocations: 4 kB / 0.5764 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.6704, allocations: 23.98 kB / 0.5765 GB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/0.6704, allocations: 0 / 0.5765 GB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/0.6704, allocations: 8 kB / 0.5765 GB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.6704, allocations: 0 / 0.5765 GB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.6705, allocations: 4 kB / 0.5765 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.6715, allocations: 423.9 kB / 0.5769 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.6718, allocations: 108.8 kB / 0.577 GB, free: 1.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.589e-05/0.6719, allocations: 4 kB / 0.577 GB, free: 1.836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/0.6722, allocations: 19.98 kB / 0.577 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.048e-05/0.6723, allocations: 11.94 kB / 0.577 GB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.6724, allocations: 12 kB / 0.577 GB, free: 1.793 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006322/0.673, allocations: 261.9 kB / 0.5773 GB, free: 1.535 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6731, allocations: 0 / 0.5773 GB, free: 1.535 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008488/0.6739, allocations: 48 kB / 0.5773 GB, free: 1.488 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.003645/0.6776, allocations: 1.536 MB / 0.5788 GB, free: 16 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008002/0.6785, allocations: 127.7 kB / 0.5789 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.6785, allocations: 0 / 0.5789 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000334/0.6789, allocations: 64.41 kB / 0.579 GB, free: 15.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.6799, allocations: 53.7 kB / 0.579 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005208/0.6852, allocations: 1.83 MB / 0.5808 GB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006832/0.6859, allocations: 0.7596 MB / 0.5816 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/0.6863, allocations: 79.41 kB / 0.5817 GB, free: 13.01 MB / 410.7 MB Notification: Performance of SimCode: time 1.342e-06/0.6863, allocations: 0 / 0.5817 GB, free: 13.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.925/3.612, allocations: 4.252 MB / 0.5858 GB, free: 8.762 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat does not exist to compare? outputFormat=mat