Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",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.001004/0.001004, allocations: 97.3 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.001053/0.001053, allocations: 177.2 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.765/1.765, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.435/0.435, allocations: 43.55 MB / 314.5 MB, free: 8.793 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.0005993/0.0005993, allocations: 20 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.156, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002486/0.1586, allocations: 1.391 MB / 444.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.1599, allocations: 0.7305 MB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.747e-05/0.16, allocations: 0 / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000361/0.1604, allocations: 83.7 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.1606, allocations: 59.84 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.1609, allocations: 79.77 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.1611, allocations: 63.91 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1612, allocations: 8.219 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1613, allocations: 51.77 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1614, allocations: 47.83 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.1614, allocations: 0 / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.886e-05/0.1615, allocations: 27.94 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.597e-05/0.1616, allocations: 19.91 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.858e-05/0.1617, allocations: 41.64 kB / 445.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.1618, allocations: 88.08 kB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1618, allocations: 0 / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1618, allocations: 0 / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.1619, allocations: 0 / 445.5 MB, free: 10.27 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.0006191/0.1625, allocations: 410.8 kB / 445.9 MB, free: 9.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.1625, allocations: 12.02 kB / 445.9 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.1626, allocations: 38.56 kB / 446 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.1626, allocations: 11.81 kB / 446 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.1629, allocations: 199.6 kB / 446.2 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.1629, allocations: 0 / 446.2 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.1629, allocations: 4 kB / 446.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.1631, allocations: 61.61 kB / 446.3 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1631, allocations: 0 / 446.3 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1632, allocations: 7.953 kB / 446.3 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1632, allocations: 0 / 446.3 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.538e-05/0.1632, allocations: 27.97 kB / 446.3 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.1636, allocations: 288.9 kB / 446.6 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.1638, allocations: 58.61 kB / 446.6 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.1638, allocations: 8 kB / 446.6 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.164, allocations: 67.47 kB / 446.7 MB, free: 8.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.164, allocations: 0 / 446.7 MB, free: 8.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005466/0.1646, allocations: 173.1 kB / 446.9 MB, free: 8.746 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.1647, allocations: 55.41 kB / 446.9 MB, free: 8.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.1649, allocations: 210.4 kB / 447.1 MB, free: 8.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.1649, allocations: 29.7 kB / 447.2 MB, free: 8.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.094e-05/0.165, allocations: 104.1 kB / 447.3 MB, free: 8.324 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.165, allocations: 27.64 kB / 447.3 MB, free: 8.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.165, allocations: 7.938 kB / 447.3 MB, free: 8.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1652, allocations: 322.8 kB / 447.6 MB, free: 7.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.444e-05/0.1652, allocations: 23.98 kB / 447.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.848e-05/0.1653, allocations: 33.66 kB / 447.7 MB, free: 7.902 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.978e-05/0.1653, allocations: 27.98 kB / 447.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1654, allocations: 3.938 kB / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001796/0.1655, allocations: 105.4 kB / 447.8 MB, free: 7.762 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1656, allocations: 7.938 kB / 447.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1656, allocations: 0 / 447.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1656, allocations: 4 kB / 447.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.097e-05/0.1657, allocations: 19.98 kB / 447.8 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1657, allocations: 0 / 447.8 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.807e-05/0.1658, allocations: 4 kB / 447.8 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.1658, allocations: 32 / 447.8 MB, free: 7.727 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.0001161/0.1659, allocations: 137.8 kB / 448 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.1659, allocations: 15.86 kB / 448 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.827e-05/0.166, allocations: 17.39 kB / 448 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.166, allocations: 0 / 448 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.166, allocations: 0 / 448 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.166, allocations: 4 kB / 448 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/0.1665, allocations: 395.3 kB / 448.4 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1665, allocations: 4 kB / 448.4 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.681e-05/0.1666, allocations: 16.3 kB / 448.4 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.1666, allocations: 0 / 448.4 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.1666, allocations: 0 / 448.4 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1666, allocations: 4 kB / 448.4 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1666, allocations: 4.234 kB / 448.4 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.1669, allocations: 221.9 kB / 448.6 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/0.1669, allocations: 96.91 kB / 448.7 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.167, allocations: 0 / 448.7 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/0.1671, allocations: 4 kB / 448.7 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.1671, allocations: 7.984 kB / 448.7 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.1671, allocations: 0 / 448.7 MB, free: 6.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.1673, allocations: 164.2 kB / 448.9 MB, free: 6.547 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1673, allocations: 0 / 448.9 MB, free: 6.547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.1675, allocations: 32 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.001507/0.1691, allocations: 1.168 MB / 450.1 MB, free: 5.355 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.1693, allocations: 59.91 kB / 450.2 MB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1693, allocations: 0 / 450.2 MB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.737e-05/0.1693, allocations: 27.92 kB / 450.2 MB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.1696, allocations: 28.09 kB / 450.2 MB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.1708, allocations: 0.8986 MB / 451.1 MB, free: 4.285 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.1712, allocations: 0.7121 MB / 451.8 MB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.686e-05/0.1713, allocations: 20.78 kB / 451.9 MB, free: 3.527 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.069e-05/0.1713, allocations: 39.42 kB / 451.9 MB, free: 3.488 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1713, allocations: 0 / 451.9 MB, free: 3.488 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01373/0.1851, allocations: 3.016 MB / 454.9 MB, free: 484 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/0.1853, allocations: 215.4 kB / 455.1 MB, free: 236 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/1.858, allocations: 4 kB / 455.1 MB, free: 232 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat does not exist to compare? outputFormat=mat