Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test51",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.001532/0.001538, allocations: 182.6 kB / 16.4 MB, free: 5.75 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.081/2.081, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001236/0.001235, allocations: 85.55 kB / 270.9 MB, free: 8.367 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.5303/0.5303, allocations: 43.56 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007891/0.0007891, allocations: 12 kB / 431.5 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1418, allocations: 58.85 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002693/0.1445, allocations: 1.39 MB / 491.7 MB, free: 9.488 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.1464, allocations: 0.7305 MB / 492.4 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.645e-05/0.1465, allocations: 0 / 492.4 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.1468, allocations: 35.78 kB / 492.5 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.1471, allocations: 51.86 kB / 492.5 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.1475, allocations: 67.86 kB / 492.6 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.1477, allocations: 63.84 kB / 492.7 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1478, allocations: 8.219 kB / 492.7 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.148, allocations: 47.77 kB / 492.7 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.415e-05/0.1481, allocations: 27.86 kB / 492.7 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.1481, allocations: 0 / 492.7 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.1482, allocations: 31.92 kB / 492.8 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.1483, allocations: 23.92 kB / 492.8 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.313e-05/0.1484, allocations: 41.62 kB / 492.8 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.1486, allocations: 92.09 kB / 492.9 MB, free: 8.262 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1486, allocations: 0 / 492.9 MB, free: 8.262 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1486, allocations: 0 / 492.9 MB, free: 8.262 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.1486, allocations: 0 / 492.9 MB, free: 8.262 MB / 378.7 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.0006577/0.1493, allocations: 410.8 kB / 493.3 MB, free: 7.812 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.1493, allocations: 8.031 kB / 493.3 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.303e-05/0.1494, allocations: 30.56 kB / 493.4 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.1495, allocations: 19.81 kB / 493.4 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.1498, allocations: 206.9 kB / 493.6 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1498, allocations: 0 / 493.6 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.1498, allocations: 4 kB / 493.6 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.15, allocations: 57.61 kB / 493.6 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1501, allocations: 0 / 493.6 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.1501, allocations: 3.953 kB / 493.7 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1501, allocations: 0 / 493.7 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.1502, allocations: 19.98 kB / 493.7 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/0.1507, allocations: 304.8 kB / 494 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.151, allocations: 54.62 kB / 494 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.151, allocations: 0 / 494 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.1513, allocations: 67.47 kB / 494.1 MB, free: 6.926 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.465e-06/0.1513, allocations: 7.938 kB / 494.1 MB, free: 6.918 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008179/0.1521, allocations: 181.2 kB / 494.3 MB, free: 6.734 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.1522, allocations: 55.41 kB / 494.3 MB, free: 6.668 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.1525, allocations: 222.6 kB / 494.5 MB, free: 6.438 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.1526, allocations: 25.7 kB / 494.6 MB, free: 6.406 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.1527, allocations: 162.6 kB / 494.7 MB, free: 6.246 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.1527, allocations: 27.64 kB / 494.8 MB, free: 6.219 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/0.1528, allocations: 8 kB / 494.8 MB, free: 6.211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1529, allocations: 314.8 kB / 495.1 MB, free: 5.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.925e-05/0.153, allocations: 23.98 kB / 495.1 MB, free: 5.871 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.1531, allocations: 37.64 kB / 495.1 MB, free: 5.828 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.1532, allocations: 23.98 kB / 495.2 MB, free: 5.805 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1533, allocations: 0 / 495.2 MB, free: 5.805 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002997/0.1536, allocations: 89.62 kB / 495.2 MB, free: 5.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.1536, allocations: 19.91 kB / 495.3 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1536, allocations: 0 / 495.3 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1536, allocations: 0 / 495.3 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.1538, allocations: 16 kB / 495.3 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1538, allocations: 4 kB / 495.3 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.146e-05/0.1539, allocations: 7.969 kB / 495.3 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.1539, allocations: 4 kB / 495.3 MB, free: 5.66 MB / 378.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 (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.0001573/0.1541, allocations: 129.8 kB / 495.4 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.1542, allocations: 19.77 kB / 495.4 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.018e-05/0.1542, allocations: 17.41 kB / 495.5 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.1542, allocations: 0 / 495.5 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.128e-06/0.1543, allocations: 4 kB / 495.5 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1543, allocations: 0 / 495.5 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006807/0.155, allocations: 399.3 kB / 495.8 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.155, allocations: 0 / 495.8 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.352e-05/0.1551, allocations: 11.94 kB / 495.9 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1551, allocations: 0 / 495.9 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.1551, allocations: 12.03 kB / 495.9 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1551, allocations: 0 / 495.9 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1551, allocations: 3.984 kB / 495.9 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.1555, allocations: 214.1 kB / 496.1 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.343e-05/0.1556, allocations: 89.02 kB / 496.2 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.1556, allocations: 192 / 496.2 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.1558, allocations: 11.98 kB / 496.2 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/0.1558, allocations: 11.94 kB / 496.2 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.1559, allocations: 4 kB / 496.2 MB, free: 4.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002267/0.1561, allocations: 176.2 kB / 496.4 MB, free: 4.469 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1561, allocations: 0 / 496.4 MB, free: 4.469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003728/0.1565, allocations: 20 kB / 496.4 MB, free: 4.449 MB / 378.7 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002034/0.1585, allocations: 1.183 MB / 497.6 MB, free: 3.293 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003084/0.1589, allocations: 55.92 kB / 497.6 MB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1589, allocations: 0 / 497.6 MB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.159, allocations: 27.92 kB / 497.7 MB, free: 3.211 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.1594, allocations: 28.16 kB / 497.7 MB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.1614, allocations: 0.9531 MB / 498.6 MB, free: 2.168 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.1618, allocations: 0.7199 MB / 499.4 MB, free: 1.422 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.1619, allocations: 35.42 kB / 499.4 MB, free: 1.387 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1619, allocations: 0 / 499.4 MB, free: 1.387 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.147/3.309, allocations: 2.57 MB / 0.4902 GB, free: 42.25 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat does not exist to compare? outputFormat=mat