Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",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.0009163/0.0009163, allocations: 93.7 kB / 16.98 MB, free: 5.934 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.0009331/0.0009333, allocations: 186.2 kB / 17.88 MB, free: 5.594 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.474/1.474, 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.2282/0.2282, allocations: 44.23 MB / 337.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004327/0.0004328, allocations: 12 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1515, allocations: 61.91 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002513/0.1541, allocations: 1.414 MB / 473 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.1558, allocations: 0.7919 MB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.205e-05/0.156, allocations: 4 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.1563, allocations: 79.81 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.1566, allocations: 75.7 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.1569, allocations: 91.7 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.1571, allocations: 75.84 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.1572, allocations: 11.98 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.1573, allocations: 47.83 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.1574, allocations: 43.83 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.1575, allocations: 0 / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1576, allocations: 39.98 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.1576, allocations: 31.84 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.521e-05/0.1577, allocations: 41.64 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.1579, allocations: 108 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1579, allocations: 0 / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1579, allocations: 3.938 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.1579, allocations: 0 / 474.4 MB, free: 10.79 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006193/0.1585, allocations: 410.9 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.1586, allocations: 8.031 kB / 474.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.472e-05/0.1587, allocations: 30.56 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.1587, allocations: 19.81 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.159, allocations: 219.3 kB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.159, allocations: 0 / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.159, allocations: 11.95 kB / 475.1 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1592, allocations: 65.55 kB / 475.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1592, allocations: 0 / 475.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1592, allocations: 3.984 kB / 475.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1592, allocations: 0 / 475.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.539e-05/0.1593, allocations: 19.98 kB / 475.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.1597, allocations: 304.7 kB / 475.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.16, allocations: 66.48 kB / 475.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.16, allocations: 0 / 475.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.1602, allocations: 67.52 kB / 475.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.1602, allocations: 0 / 475.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007726/0.161, allocations: 241.6 kB / 475.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.161, allocations: 55.41 kB / 475.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.1613, allocations: 222.6 kB / 476.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.1613, allocations: 33.7 kB / 476.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/0.1614, allocations: 104.1 kB / 476.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.1614, allocations: 39.47 kB / 476.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-06/0.1614, allocations: 0 / 476.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1616, allocations: 334.8 kB / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.562e-05/0.1616, allocations: 27.94 kB / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.86e-05/0.1617, allocations: 53.69 kB / 476.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.067e-05/0.1618, allocations: 31.94 kB / 476.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1618, allocations: 0 / 476.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002129/0.162, allocations: 125.5 kB / 476.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.162, allocations: 4 kB / 476.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1621, allocations: 4.031 kB / 476.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.1621, allocations: 4 kB / 476.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.327e-05/0.1622, allocations: 19.98 kB / 476.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1622, allocations: 0 / 476.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.839e-05/0.1622, allocations: 8 kB / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.1623, allocations: 7.938 kB / 476.9 MB, free: 8.055 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 (13): * Single equations (assignments): 13 * 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.0001328/0.1624, allocations: 133.8 kB / 477 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.1624, allocations: 15.81 kB / 477 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.949e-05/0.1625, allocations: 21.34 kB / 477 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.1625, allocations: 7.984 kB / 477.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.1625, allocations: 3.984 kB / 477.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1625, allocations: 3.938 kB / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000562/0.1631, allocations: 448 kB / 477.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1631, allocations: 4 kB / 477.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-05/0.1632, allocations: 23.98 kB / 477.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1632, allocations: 0 / 477.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.1632, allocations: 0 / 477.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.1632, allocations: 8 kB / 477.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1632, allocations: 0 / 477.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.1635, allocations: 256.5 kB / 477.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.702e-05/0.1636, allocations: 88.92 kB / 477.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.1637, allocations: 11.95 kB / 477.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.661e-05/0.1638, allocations: 7.984 kB / 477.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.1638, allocations: 4 kB / 477.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.1638, allocations: 11.98 kB / 477.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.164, allocations: 164.3 kB / 478.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.575e-06/0.164, allocations: 0 / 478.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.1643, allocations: 39.92 kB / 478.1 MB, free: 6.703 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001813/0.1661, allocations: 1.339 MB / 479.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.1663, allocations: 75.91 kB / 479.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1664, allocations: 4 kB / 479.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.1664, allocations: 35.92 kB / 479.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.1667, allocations: 32.3 kB / 479.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.1679, allocations: 0.9954 MB / 480.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.1683, allocations: 0.716 MB / 481.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.345e-05/0.1683, allocations: 24.64 kB / 481.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.33e-05/0.1684, allocations: 51.41 kB / 481.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1684, allocations: 0 / 481.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01408/0.1825, allocations: 3.365 MB / 484.7 MB, free: 300 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.1828, allocations: 215.2 kB / 484.9 MB, free: 56 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/1.916, allocations: 0 / 484.9 MB, free: 56 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat does not exist to compare? outputFormat=mat