Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",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.001068/0.001068, allocations: 97.27 kB / 16.99 MB, free: 5.941 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.0008744/0.0008744, allocations: 181.7 kB / 17.87 MB, free: 5.609 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.428/1.428, allocations: 223.2 MB / 241.8 MB, free: 384 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.2389/0.2389, allocations: 44.22 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003339, allocations: 8 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1515, allocations: 61.91 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002221/0.1538, allocations: 1.387 MB / 472.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.1552, allocations: 0.7919 MB / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.973e-05/0.1552, allocations: 7.938 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.1554, allocations: 31.83 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.1555, allocations: 39.89 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.1558, allocations: 99.14 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.1559, allocations: 63.84 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.95e-05/0.1559, allocations: 8.234 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.579e-05/0.156, allocations: 39.83 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.533e-05/0.1561, allocations: 31.86 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.1561, allocations: 0 / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.604e-05/0.1562, allocations: 27.98 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.763e-05/0.1562, allocations: 15.92 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.1563, allocations: 41.64 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.1564, allocations: 84.08 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1564, allocations: 0 / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1564, allocations: 3.938 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.925e-06/0.1564, allocations: 0 / 474.2 MB, free: 10.98 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.0004065/0.1568, allocations: 395 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.1569, allocations: 12.03 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.459e-05/0.1569, allocations: 30.56 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.275e-05/0.1569, allocations: 15.75 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.1571, allocations: 202.9 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.38e-06/0.1572, allocations: 0 / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.1572, allocations: 7.953 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.1573, allocations: 53.67 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.1573, allocations: 0 / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.1573, allocations: 4 kB / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-06/0.1573, allocations: 4 kB / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.982e-05/0.1574, allocations: 19.98 kB / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.1577, allocations: 292.8 kB / 475.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.1579, allocations: 54.67 kB / 475.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.1579, allocations: 0 / 475.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.158, allocations: 75.45 kB / 475.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.158, allocations: 0 / 475.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004419/0.1585, allocations: 161.3 kB / 475.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.1586, allocations: 63.34 kB / 475.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.1587, allocations: 186.1 kB / 475.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.1588, allocations: 29.7 kB / 475.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.1588, allocations: 104.1 kB / 475.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.1589, allocations: 23.7 kB / 475.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.1589, allocations: 4 kB / 475.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1591, allocations: 326.7 kB / 476.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.505e-05/0.1591, allocations: 23.98 kB / 476.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.945e-05/0.1592, allocations: 33.7 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.637e-05/0.1592, allocations: 20 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1593, allocations: 4 kB / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001832/0.1594, allocations: 109.4 kB / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.1595, allocations: 4 kB / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1595, allocations: 3.984 kB / 476.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.1595, allocations: 0 / 476.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.296e-05/0.1596, allocations: 16 kB / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1596, allocations: 0 / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.401e-05/0.1596, allocations: 4 kB / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.1597, allocations: 0 / 476.4 MB, free: 8.512 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.0001288/0.1598, allocations: 142.3 kB / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.1598, allocations: 7.906 kB / 476.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.1598, allocations: 16.7 kB / 476.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1599, allocations: 0 / 476.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1599, allocations: 4 kB / 476.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1599, allocations: 3.984 kB / 476.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.1603, allocations: 391.3 kB / 477 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1603, allocations: 4.031 kB / 477 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-05/0.1604, allocations: 8 kB / 477 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1604, allocations: 0 / 477 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1604, allocations: 7.984 kB / 477 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1604, allocations: 0.6094 kB / 477 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1604, allocations: 0 / 477 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.1606, allocations: 225.8 kB / 477.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.1607, allocations: 93.02 kB / 477.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.1607, allocations: 3.984 kB / 477.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.759e-05/0.1608, allocations: 4 kB / 477.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.1608, allocations: 4 kB / 477.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.1609, allocations: 15.92 kB / 477.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.161, allocations: 143.1 kB / 477.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.161, allocations: 0 / 477.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1612, allocations: 27.98 kB / 477.5 MB, free: 7.316 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.00158/0.1628, allocations: 1.172 MB / 478.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.163, allocations: 59.95 kB / 478.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.163, allocations: 0 / 478.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.156e-05/0.1631, allocations: 27.94 kB / 478.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.1633, allocations: 38.55 kB / 478.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.1646, allocations: 0.8432 MB / 479.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.165, allocations: 0.7004 MB / 480.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.474e-05/0.165, allocations: 17.17 kB / 480.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.058e-05/0.1651, allocations: 35.42 kB / 480.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1651, allocations: 4 kB / 480.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01365/0.1788, allocations: 2.904 MB / 483.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/0.179, allocations: 212.8 kB / 483.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/1.947, allocations: 0 / 483.5 MB, free: 1.477 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat does not exist to compare? outputFormat=mat