Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test26",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.002452/0.002451, allocations: 188.1 kB / 16.4 MB, free: 5.625 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.253/2.253, allocations: 205.4 MB / 222.5 MB, free: 13.77 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.001194/0.001193, allocations: 90.84 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3059/0.3059, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004794, allocations: 16 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1529, allocations: 58.86 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002708/0.1557, allocations: 1.387 MB / 491.7 MB, free: 7.836 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.1578, allocations: 0.7305 MB / 492.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.158, allocations: 4 kB / 492.4 MB, free: 7.094 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004082/0.1585, allocations: 27.84 kB / 492.5 MB, free: 7.066 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003792/0.1589, allocations: 43.88 kB / 492.5 MB, free: 7.023 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005637/0.1595, allocations: 75.78 kB / 492.6 MB, free: 6.949 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.1597, allocations: 59.86 kB / 492.7 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.1599, allocations: 16.2 kB / 492.7 MB, free: 6.875 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.1601, allocations: 35.84 kB / 492.7 MB, free: 6.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.1602, allocations: 23.86 kB / 492.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.1603, allocations: 4 kB / 492.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.1605, allocations: 27.92 kB / 492.8 MB, free: 6.785 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.162e-05/0.1606, allocations: 23.91 kB / 492.8 MB, free: 6.762 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.418e-05/0.1607, allocations: 41.64 kB / 492.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.161, allocations: 88.09 kB / 492.9 MB, free: 6.629 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.161, allocations: 0 / 492.9 MB, free: 6.629 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.161, allocations: 0 / 492.9 MB, free: 6.629 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.161, allocations: 0 / 492.9 MB, free: 6.629 MB / 330.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.0008993/0.1619, allocations: 398.9 kB / 493.3 MB, free: 6.191 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.501e-05/0.162, allocations: 12.02 kB / 493.3 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.787e-05/0.1621, allocations: 30.56 kB / 493.3 MB, free: 6.141 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.547e-05/0.1622, allocations: 19.7 kB / 493.4 MB, free: 6.121 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004416/0.1626, allocations: 215.5 kB / 493.6 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.1627, allocations: 4 kB / 493.6 MB, free: 5.867 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.1627, allocations: 0 / 493.6 MB, free: 5.867 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.163, allocations: 53.67 kB / 493.6 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1631, allocations: 0 / 493.6 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.1631, allocations: 0 / 493.6 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1631, allocations: 4 kB / 493.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.1633, allocations: 19.94 kB / 493.6 MB, free: 5.785 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006637/0.164, allocations: 288.9 kB / 493.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.1643, allocations: 58.61 kB / 494 MB, free: 5.387 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.1644, allocations: 4 kB / 494 MB, free: 5.383 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003151/0.1647, allocations: 63.52 kB / 494.1 MB, free: 5.309 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 4.038e-06/0.1648, allocations: 0 / 494.1 MB, free: 5.309 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.001135/0.1659, allocations: 181.4 kB / 494.2 MB, free: 5.125 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/0.166, allocations: 51.41 kB / 494.3 MB, free: 5.062 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/0.1665, allocations: 199.3 kB / 494.5 MB, free: 4.859 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.1665, allocations: 25.7 kB / 494.5 MB, free: 4.828 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.1667, allocations: 166.5 kB / 494.7 MB, free: 4.664 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.689e-05/0.1667, allocations: 23.7 kB / 494.7 MB, free: 4.641 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.1668, allocations: 0 / 494.7 MB, free: 4.641 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.167, allocations: 322.8 kB / 495 MB, free: 4.316 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.1672, allocations: 19.98 kB / 495 MB, free: 4.297 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.1674, allocations: 37.7 kB / 495.1 MB, free: 4.254 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.1675, allocations: 20 kB / 495.1 MB, free: 4.234 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1676, allocations: 3.938 kB / 495.1 MB, free: 4.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004534/0.168, allocations: 93.61 kB / 495.2 MB, free: 4.133 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.1681, allocations: 8 kB / 495.2 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.1681, allocations: 8.016 kB / 495.2 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.1682, allocations: 4.031 kB / 495.2 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.1684, allocations: 15.98 kB / 495.2 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.1684, allocations: 4 kB / 495.2 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.1686, allocations: 0 / 495.2 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.1686, allocations: 8 kB / 495.2 MB, free: 4.086 MB / 330.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.0002218/0.1689, allocations: 129.8 kB / 495.3 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.732e-05/0.1689, allocations: 11.91 kB / 495.4 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.656e-05/0.169, allocations: 17.58 kB / 495.4 MB, free: 3.918 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.1691, allocations: 7.953 kB / 495.4 MB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.1691, allocations: 7.938 kB / 495.4 MB, free: 3.902 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1691, allocations: 0 / 495.4 MB, free: 3.902 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.1701, allocations: 395.2 kB / 495.8 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.1702, allocations: 0 / 495.8 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.222e-05/0.1703, allocations: 11.95 kB / 495.8 MB, free: 3.445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.63e-05/0.1703, allocations: 11.97 kB / 495.8 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.1704, allocations: 4 kB / 495.8 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.1704, allocations: 4.031 kB / 495.8 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1704, allocations: 0 / 495.8 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00053/0.1709, allocations: 214.2 kB / 496 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.1711, allocations: 88.92 kB / 496.1 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/0.1711, allocations: 11.92 kB / 496.1 MB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.1714, allocations: 4 kB / 496.1 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/0.1714, allocations: 8 kB / 496.1 MB, free: 3.062 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.1715, allocations: 7.984 kB / 496.1 MB, free: 3.055 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002991/0.1718, allocations: 152.9 kB / 496.3 MB, free: 2.906 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.1718, allocations: 0 / 496.3 MB, free: 2.906 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006264/0.1725, allocations: 24 kB / 496.3 MB, free: 2.883 MB / 330.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.003281/0.1758, allocations: 1.171 MB / 497.5 MB, free: 1.734 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004686/0.1763, allocations: 59.97 kB / 497.5 MB, free: 1.676 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.1763, allocations: 0 / 497.5 MB, free: 1.676 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.1765, allocations: 31.92 kB / 497.6 MB, free: 1.645 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005961/0.1772, allocations: 27.92 kB / 497.6 MB, free: 1.617 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.1799, allocations: 0.8957 MB / 498.5 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/0.1805, allocations: 0.7121 MB / 499.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.1807, allocations: 35.42 kB / 499.2 MB, free: 15.89 MB / 346.7 MB Notification: Performance of SimCode: time 1.422e-06/0.1807, allocations: 0 / 499.2 MB, free: 15.89 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.899/3.08, allocations: 2.47 MB / 0.4899 GB, free: 13.42 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat does not exist to compare? outputFormat=mat