Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 173.3 kB / 16.57 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.4 MB / 222.7 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.429/0.429, allocations: 43.54 MB / 314.5 MB, free: 8.797 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006038/0.0006038, allocations: 20 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.161, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002262/0.1634, allocations: 1.388 MB / 444.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.1647, allocations: 0.7306 MB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.11e-05/0.1648, allocations: 0 / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.1651, allocations: 83.7 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.1653, allocations: 63.84 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.1656, allocations: 79.77 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.1657, allocations: 59.91 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1659, allocations: 16.2 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.139e-05/0.166, allocations: 47.77 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.729e-05/0.1661, allocations: 43.84 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.1661, allocations: 4 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.497e-05/0.1662, allocations: 31.91 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.658e-05/0.1662, allocations: 15.92 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.671e-05/0.1663, allocations: 41.7 kB / 445.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.1664, allocations: 92.02 kB / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1665, allocations: 0 / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1665, allocations: 0 / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1665, allocations: 0 / 445.5 MB, free: 10.25 MB / 382.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.0006037/0.1671, allocations: 410.8 kB / 445.9 MB, free: 9.805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1671, allocations: 11.97 kB / 446 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.172e-05/0.1672, allocations: 30.56 kB / 446 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.1672, allocations: 15.81 kB / 446 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.1675, allocations: 199.6 kB / 446.2 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.1675, allocations: 4 kB / 446.2 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.1675, allocations: 0 / 446.2 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.1677, allocations: 57.61 kB / 446.3 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1677, allocations: 0 / 446.3 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1678, allocations: 11.94 kB / 446.3 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1678, allocations: 4 kB / 446.3 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.616e-05/0.1679, allocations: 16 kB / 446.3 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.1683, allocations: 292.9 kB / 446.6 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.1685, allocations: 54.62 kB / 446.6 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.1685, allocations: 4.125 kB / 446.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.1687, allocations: 71.33 kB / 446.7 MB, free: 8.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.1687, allocations: 4 kB / 446.7 MB, free: 8.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005853/0.1693, allocations: 177.1 kB / 446.9 MB, free: 8.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.1694, allocations: 51.41 kB / 446.9 MB, free: 8.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.1696, allocations: 214.3 kB / 447.1 MB, free: 8.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1696, allocations: 25.7 kB / 447.2 MB, free: 8.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.1697, allocations: 112.1 kB / 447.3 MB, free: 8.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.1697, allocations: 19.66 kB / 447.3 MB, free: 8.293 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/0.1697, allocations: 4 kB / 447.3 MB, free: 8.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1699, allocations: 326.8 kB / 447.6 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.118e-05/0.1699, allocations: 15.98 kB / 447.6 MB, free: 7.945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.47e-05/0.17, allocations: 41.64 kB / 447.7 MB, free: 7.898 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.038e-05/0.1701, allocations: 27.98 kB / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1701, allocations: 7.938 kB / 447.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001763/0.1703, allocations: 105.5 kB / 447.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1703, allocations: 4 kB / 447.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1703, allocations: 4 kB / 447.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1703, allocations: 3.938 kB / 447.8 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.074e-05/0.1704, allocations: 15.98 kB / 447.8 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1704, allocations: 0 / 447.8 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.1705, allocations: 8 kB / 447.8 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1705, allocations: 4 kB / 447.8 MB, free: 7.715 MB / 382.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 () * 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.0001246/0.1706, allocations: 130 kB / 448 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.1707, allocations: 15.86 kB / 448 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.618e-05/0.1707, allocations: 21.34 kB / 448 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1707, allocations: 4 kB / 448 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1707, allocations: 0 / 448 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.1707, allocations: 3.984 kB / 448 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004687/0.1712, allocations: 395.3 kB / 448.4 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1712, allocations: 4.031 kB / 448.4 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.214e-05/0.1713, allocations: 11.94 kB / 448.4 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1713, allocations: 3.984 kB / 448.4 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.1713, allocations: 0 / 448.4 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1713, allocations: 4 kB / 448.4 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1713, allocations: 0 / 448.4 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.1715, allocations: 221.9 kB / 448.6 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.942e-05/0.1716, allocations: 88.92 kB / 448.7 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.1716, allocations: 0 / 448.7 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.1717, allocations: 8 kB / 448.7 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.1718, allocations: 7.984 kB / 448.7 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.1718, allocations: 4 kB / 448.7 MB, free: 6.699 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.1719, allocations: 152.2 kB / 448.9 MB, free: 6.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.456e-06/0.1719, allocations: 4 kB / 448.9 MB, free: 6.547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1722, allocations: 31.92 kB / 448.9 MB, free: 6.516 MB / 382.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) * 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.001525/0.1737, allocations: 1.177 MB / 450.1 MB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.1739, allocations: 55.91 kB / 450.2 MB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1739, allocations: 0 / 450.2 MB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.702e-05/0.174, allocations: 32.08 kB / 450.2 MB, free: 5.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.1743, allocations: 28.06 kB / 450.2 MB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.1756, allocations: 0.9065 MB / 451.1 MB, free: 4.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.176, allocations: 0.7082 MB / 451.8 MB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.77e-05/0.176, allocations: 16.48 kB / 451.8 MB, free: 3.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.865e-05/0.1761, allocations: 39.42 kB / 451.9 MB, free: 3.48 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1761, allocations: 0 / 451.9 MB, free: 3.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01501/0.1911, allocations: 3.013 MB / 454.9 MB, free: 480 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/0.1914, allocations: 223.3 kB / 455.1 MB, free: 224 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/1.999, allocations: 0 / 455.1 MB, free: 224 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat