Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",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.001017/0.001017, allocations: 97.22 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.001243/0.001244, allocations: 174.8 kB / 16.57 MB, free: 6.395 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.778/1.778, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.4185/0.4185, allocations: 43.55 MB / 314.5 MB, free: 8.945 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.0005525/0.0005523, allocations: 12 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1574, allocations: 58.86 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.0025/0.16, allocations: 1.588 MB / 444.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1613, allocations: 0.7616 MB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.767e-05/0.1614, allocations: 3.938 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.1617, allocations: 39.83 kB / 445.2 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.162, allocations: 47.81 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.1622, allocations: 91.7 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.1624, allocations: 87.81 kB / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1625, allocations: 29.47 kB / 445.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.113e-05/0.1626, allocations: 43.78 kB / 445.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.772e-05/0.1627, allocations: 39.78 kB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.1627, allocations: 4 kB / 445.6 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.173e-05/0.1628, allocations: 31.88 kB / 445.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.421e-05/0.1629, allocations: 19.91 kB / 445.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.985e-05/0.1629, allocations: 45.62 kB / 445.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.1631, allocations: 100.1 kB / 445.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1631, allocations: 0 / 445.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1631, allocations: 0 / 445.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.237e-06/0.1631, allocations: 0 / 445.8 MB, free: 10.24 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005836/0.1637, allocations: 472.4 kB / 446.2 MB, free: 9.727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1638, allocations: 8.031 kB / 446.2 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.347e-05/0.1638, allocations: 42.55 kB / 446.3 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.1639, allocations: 15.75 kB / 446.3 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.1641, allocations: 219.5 kB / 446.5 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1641, allocations: 3.938 kB / 446.5 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.1642, allocations: 12 kB / 446.5 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.1644, allocations: 104.2 kB / 446.6 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1644, allocations: 3.938 kB / 446.6 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.1644, allocations: 11.95 kB / 446.7 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1645, allocations: 0 / 446.7 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.1646, allocations: 51.97 kB / 446.7 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.1652, allocations: 0.5048 MB / 447.2 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.1655, allocations: 90.66 kB / 447.3 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.1655, allocations: 7.938 kB / 447.3 MB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.1658, allocations: 79.38 kB / 447.4 MB, free: 8.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.866e-06/0.1658, allocations: 4 kB / 447.4 MB, free: 8.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003955/0.1662, allocations: 153.4 kB / 447.5 MB, free: 8.281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.1662, allocations: 51.41 kB / 447.6 MB, free: 8.219 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.1664, allocations: 187.5 kB / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.1664, allocations: 25.7 kB / 447.8 MB, free: 7.992 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.537e-05/0.1665, allocations: 120 kB / 447.9 MB, free: 7.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.1666, allocations: 27.62 kB / 447.9 MB, free: 7.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.1666, allocations: 4 kB / 447.9 MB, free: 7.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1667, allocations: 322.8 kB / 448.3 MB, free: 7.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.594e-05/0.1668, allocations: 31.97 kB / 448.3 MB, free: 7.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.1669, allocations: 68.22 kB / 448.4 MB, free: 7.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.109e-05/0.167, allocations: 40.36 kB / 448.4 MB, free: 7.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.167, allocations: 3.953 kB / 448.4 MB, free: 7.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002582/0.1673, allocations: 145.3 kB / 448.5 MB, free: 7.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1673, allocations: 4 kB / 448.5 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1673, allocations: 0 / 448.5 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1673, allocations: 4 kB / 448.5 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.1674, allocations: 27.92 kB / 448.6 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1675, allocations: 4 kB / 448.6 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.836e-05/0.1675, allocations: 15.94 kB / 448.6 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.1675, allocations: 4 kB / 448.6 MB, free: 7.152 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001069/0.1677, allocations: 137.8 kB / 448.7 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.1677, allocations: 19.77 kB / 448.8 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.451e-05/0.1677, allocations: 17.39 kB / 448.8 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1678, allocations: 0 / 448.8 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1678, allocations: 0 / 448.8 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1678, allocations: 3.938 kB / 448.8 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.168, allocations: 209.8 kB / 449 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.168, allocations: 4 kB / 449 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-05/0.1681, allocations: 11.95 kB / 449 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1681, allocations: 0 / 449 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1681, allocations: 11.98 kB / 449 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1681, allocations: 0 / 449 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1681, allocations: 0 / 449 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003533/0.1685, allocations: 184.8 kB / 449.2 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.1685, allocations: 96.94 kB / 449.3 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.1686, allocations: 11.95 kB / 449.3 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.268e-05/0.1686, allocations: 8 kB / 449.3 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.1687, allocations: 7.984 kB / 449.3 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.1687, allocations: 4 kB / 449.3 MB, free: 6.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.1688, allocations: 137.2 kB / 449.4 MB, free: 6.211 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1688, allocations: 192 / 449.4 MB, free: 6.211 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.1691, allocations: 24 kB / 449.5 MB, free: 6.188 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * 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.00146/0.1705, allocations: 1.036 MB / 450.5 MB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.1708, allocations: 83.89 kB / 450.6 MB, free: 5.082 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1708, allocations: 0 / 450.6 MB, free: 5.082 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.1709, allocations: 43.91 kB / 450.6 MB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.1711, allocations: 36.11 kB / 450.7 MB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.1728, allocations: 1.44 MB / 452.1 MB, free: 3.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.1731, allocations: 0.7162 MB / 452.8 MB, free: 2.758 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.842e-05/0.1732, allocations: 17.41 kB / 452.8 MB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.476e-05/0.1733, allocations: 43.42 kB / 452.9 MB, free: 2.695 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1733, allocations: 0 / 452.9 MB, free: 2.695 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2428/0.4161, allocations: 3.241 MB / 456.1 MB, free: 45.6 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/0.4164, allocations: 216 kB / 456.3 MB, free: 45.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.159, allocations: 3.375 kB / 456.3 MB, free: 45.36 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat does not exist to compare? outputFormat=mat