Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test1",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.00145/0.001449, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.978/1.978, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 89.27 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3347/0.3347, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.776e-05/3.782e-05, allocations: 8.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4406/0.4407, allocations: 58.85 MB / 477.2 MB, free: 5.301 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1786/0.6194, allocations: 86.96 MB / 0.5509 GB, free: 12.32 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.6197, allocations: 67.97 kB / 0.551 GB, free: 12.25 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02626/0.646, allocations: 5.634 MB / 0.5565 GB, free: 6.621 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.6461, allocations: 0 / 0.5565 GB, free: 6.621 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.347e-05/0.6461, allocations: 7.922 kB / 0.5565 GB, free: 6.613 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006429/0.6468, allocations: 418.7 kB / 0.5569 GB, free: 6.16 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.6468, allocations: 8.031 kB / 0.5569 GB, free: 6.152 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.905e-05/0.6469, allocations: 11.91 kB / 0.5569 GB, free: 6.141 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.6474, allocations: 226.7 kB / 0.5571 GB, free: 5.879 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.6474, allocations: 4 kB / 0.5571 GB, free: 5.875 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.6474, allocations: 0 / 0.5571 GB, free: 5.875 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001095/0.6476, allocations: 19.98 kB / 0.5572 GB, free: 5.855 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.6477, allocations: 53.62 kB / 0.5572 GB, free: 5.797 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.6477, allocations: 0 / 0.5572 GB, free: 5.797 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.6477, allocations: 0 / 0.5572 GB, free: 5.797 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.6478, allocations: 0 / 0.5572 GB, free: 5.797 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005901/0.6484, allocations: 285.4 kB / 0.5575 GB, free: 5.48 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.6485, allocations: 50.69 kB / 0.5575 GB, free: 5.422 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.623e-05/0.6486, allocations: 16.98 kB / 0.5575 GB, free: 5.402 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.6486, allocations: 7.938 kB / 0.5576 GB, free: 5.395 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001925/0.6488, allocations: 67.3 kB / 0.5576 GB, free: 5.316 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.304e-06/0.6489, allocations: 0 / 0.5576 GB, free: 5.316 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006684/0.6495, allocations: 153.1 kB / 0.5578 GB, free: 5.16 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.6496, allocations: 55.41 kB / 0.5578 GB, free: 5.094 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.6501, allocations: 241.7 kB / 0.558 GB, free: 4.848 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.6501, allocations: 25.7 kB / 0.5581 GB, free: 4.816 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.6502, allocations: 162.6 kB / 0.5582 GB, free: 4.656 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/0.6503, allocations: 23.66 kB / 0.5582 GB, free: 4.633 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.6503, allocations: 0 / 0.5582 GB, free: 4.633 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.6505, allocations: 322.8 kB / 0.5586 GB, free: 4.309 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.505e-05/0.6505, allocations: 16 kB / 0.5586 GB, free: 4.293 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.096e-05/0.6506, allocations: 37.64 kB / 0.5586 GB, free: 4.25 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.297e-05/0.6507, allocations: 23.98 kB / 0.5586 GB, free: 4.227 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6507, allocations: 0 / 0.5586 GB, free: 4.227 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002269/0.651, allocations: 81.62 kB / 0.5587 GB, free: 4.141 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.651, allocations: 4 kB / 0.5587 GB, free: 4.137 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.651, allocations: 0 / 0.5587 GB, free: 4.137 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.6511, allocations: 4 kB / 0.5587 GB, free: 4.133 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.6512, allocations: 24.02 kB / 0.5587 GB, free: 4.109 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.6513, allocations: 0 / 0.5587 GB, free: 4.109 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.6514, allocations: 4 kB / 0.5587 GB, free: 4.105 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.6514, allocations: 7.953 kB / 0.5588 GB, free: 4.098 MB / 395.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001076/0.6515, allocations: 108.9 kB / 0.5589 GB, free: 3.984 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000233/0.6518, allocations: 93.73 kB / 0.5589 GB, free: 3.887 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/0.6518, allocations: 16 kB / 0.559 GB, free: 3.871 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003295/0.6522, allocations: 115.4 kB / 0.5591 GB, free: 3.754 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.6522, allocations: 8 kB / 0.5591 GB, free: 3.746 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.958e-05/0.6522, allocations: 7.953 kB / 0.5591 GB, free: 3.738 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.6522, allocations: 0 / 0.5591 GB, free: 3.738 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007294/0.653, allocations: 407.8 kB / 0.5595 GB, free: 3.293 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.653, allocations: 0 / 0.5595 GB, free: 3.293 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.212e-05/0.6531, allocations: 8 kB / 0.5595 GB, free: 3.285 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.403e-06/0.6531, allocations: 0 / 0.5595 GB, free: 3.285 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.6531, allocations: 4 kB / 0.5595 GB, free: 3.281 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.6532, allocations: 3.984 kB / 0.5595 GB, free: 3.277 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.6532, allocations: 4 kB / 0.5595 GB, free: 3.273 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.6535, allocations: 213.9 kB / 0.5597 GB, free: 3.039 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.6536, allocations: 100.9 kB / 0.5598 GB, free: 2.922 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.6537, allocations: 7.953 kB / 0.5598 GB, free: 2.914 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.6538, allocations: 0 / 0.5598 GB, free: 2.914 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.6539, allocations: 20.3 kB / 0.5598 GB, free: 2.895 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.6539, allocations: 7.984 kB / 0.5598 GB, free: 2.887 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002809/0.6542, allocations: 192.2 kB / 0.56 GB, free: 2.699 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6542, allocations: 0 / 0.56 GB, free: 2.699 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004136/0.6547, allocations: 39.86 kB / 0.56 GB, free: 2.66 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001833/0.6565, allocations: 1.105 MB / 0.5611 GB, free: 1.574 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.6568, allocations: 47.98 kB / 0.5612 GB, free: 1.527 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.6568, allocations: 4 kB / 0.5612 GB, free: 1.523 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.129e-05/0.6569, allocations: 23.94 kB / 0.5612 GB, free: 1.5 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.6574, allocations: 31.78 kB / 0.5612 GB, free: 1.469 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009514/0.6583, allocations: 325.2 kB / 0.5615 GB, free: 1.105 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.6588, allocations: 0.7158 MB / 0.5622 GB, free: 372 kB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.6589, allocations: 51.41 kB / 0.5623 GB, free: 320 kB / 395.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6589, allocations: 0 / 0.5623 GB, free: 320 kB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.774/3.433, allocations: 2.857 MB / 0.5651 GB, free: 13.46 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat does not exist to compare? outputFormat=mat