Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",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.001241/0.001241, allocations: 96.2 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 183.2 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 223.2 MB / 241.8 MB, free: 360 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2239/0.2239, allocations: 44.23 MB / 337.1 MB, free: 2.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005668/0.0005669, allocations: 12.62 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1596, allocations: 61.93 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002164/0.1618, allocations: 1.383 MB / 472.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.1632, allocations: 0.7881 MB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.466e-05/0.1633, allocations: 3.938 kB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.1636, allocations: 71.78 kB / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.1638, allocations: 67.78 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.1641, allocations: 103.1 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.1643, allocations: 71.83 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.582e-05/0.1644, allocations: 4.234 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.923e-05/0.1644, allocations: 43.83 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.199e-05/0.1645, allocations: 43.84 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.1646, allocations: 4 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.635e-05/0.1646, allocations: 27.98 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.928e-05/0.1647, allocations: 23.91 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.1647, allocations: 37.64 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.1649, allocations: 88.08 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.1649, allocations: 3.938 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1649, allocations: 0 / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1649, allocations: 0 / 474.3 MB, free: 10.85 MB / 350.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.0004618/0.1654, allocations: 406.8 kB / 474.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1654, allocations: 12.03 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.626e-05/0.1654, allocations: 38.56 kB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.1655, allocations: 7.906 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.1657, allocations: 198.9 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.1657, allocations: 0 / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.1657, allocations: 11.95 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.1659, allocations: 49.67 kB / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1659, allocations: 3.906 kB / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1659, allocations: 7.984 kB / 475 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.1659, allocations: 4 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.63e-05/0.166, allocations: 23.92 kB / 475.1 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.1663, allocations: 288.9 kB / 475.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.1665, allocations: 50.69 kB / 475.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.104e-05/0.1665, allocations: 4 kB / 475.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/0.1667, allocations: 79.44 kB / 475.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.1667, allocations: 0 / 475.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005197/0.1673, allocations: 169.2 kB / 475.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.1673, allocations: 55.34 kB / 475.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.1675, allocations: 215.2 kB / 475.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.1675, allocations: 33.7 kB / 475.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.1676, allocations: 104 kB / 476 MB, free: 8.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.1676, allocations: 23.75 kB / 476.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.1676, allocations: 4 kB / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1677, allocations: 326.8 kB / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.432e-05/0.1678, allocations: 23.98 kB / 476.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.805e-05/0.1679, allocations: 37.64 kB / 476.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.397e-05/0.1679, allocations: 20 kB / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1679, allocations: 0 / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001666/0.1681, allocations: 113.4 kB / 476.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1681, allocations: 4 kB / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1681, allocations: 0 / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1682, allocations: 0 / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.132e-05/0.1683, allocations: 27.92 kB / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1683, allocations: 0 / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.1683, allocations: 0 / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1683, allocations: 4 kB / 476.6 MB, free: 8.316 MB / 350.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.0001052/0.1684, allocations: 138.3 kB / 476.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.1685, allocations: 11.81 kB / 476.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.73e-05/0.1685, allocations: 17.41 kB / 476.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1685, allocations: 3.984 kB / 476.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1685, allocations: 0 / 476.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1686, allocations: 3.984 kB / 476.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004325/0.169, allocations: 395.4 kB / 477.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.169, allocations: 0 / 477.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.332e-05/0.169, allocations: 12.03 kB / 477.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1691, allocations: 4 kB / 477.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1691, allocations: 0 / 477.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.1691, allocations: 4.062 kB / 477.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1691, allocations: 3.984 kB / 477.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.1693, allocations: 217.8 kB / 477.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/0.1694, allocations: 93.02 kB / 477.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.1694, allocations: 4 kB / 477.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.1695, allocations: 3.984 kB / 477.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.1695, allocations: 7.938 kB / 477.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.1695, allocations: 8 kB / 477.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.1697, allocations: 163.2 kB / 477.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1697, allocations: 0 / 477.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003119/0.17, allocations: 24 kB / 477.7 MB, free: 7.113 MB / 350.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.001427/0.1714, allocations: 1.178 MB / 478.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.1716, allocations: 63.91 kB / 478.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1716, allocations: 0 / 478.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.839e-05/0.1717, allocations: 27.98 kB / 479 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.172, allocations: 23.94 kB / 479 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.1732, allocations: 0.8987 MB / 479.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.1734, allocations: 0.716 MB / 480.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.815e-05/0.1735, allocations: 20.78 kB / 480.6 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.004e-05/0.1736, allocations: 35.42 kB / 480.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1736, allocations: 4 kB / 480.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01224/0.1858, allocations: 3.014 MB / 483.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/0.186, allocations: 216.9 kB / 483.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/1.913, allocations: 0 / 483.9 MB, free: 1.102 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat does not exist to compare? outputFormat=mat