Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",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.001166/0.001166, 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.001053/0.001053, allocations: 174.8 kB / 16.57 MB, free: 6.391 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.817/1.817, allocations: 205.4 MB / 222.7 MB, free: 5.68 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.4453/0.4453, allocations: 43.54 MB / 314.5 MB, free: 8.711 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.0005378/0.0005378, allocations: 12 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1532, allocations: 58.87 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002618/0.1559, allocations: 1.6 MB / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.1574, allocations: 0.8709 MB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.1575, allocations: 7.938 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007204/0.1583, allocations: 167.5 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.1586, allocations: 135.6 kB / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005075/0.1591, allocations: 163.7 kB / 445.8 MB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.1594, allocations: 155.7 kB / 445.9 MB, free: 9.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.1595, allocations: 29.66 kB / 446 MB, free: 9.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.1597, allocations: 95.55 kB / 446.1 MB, free: 9.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.1599, allocations: 83.66 kB / 446.2 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.1599, allocations: 8 kB / 446.2 MB, free: 9.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.16, allocations: 35.98 kB / 446.2 MB, free: 9.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.566e-05/0.1601, allocations: 47.81 kB / 446.2 MB, free: 9.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.425e-05/0.1602, allocations: 57.58 kB / 446.3 MB, free: 9.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.1605, allocations: 171.8 kB / 446.5 MB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1605, allocations: 0 / 446.5 MB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.1605, allocations: 0 / 446.5 MB, free: 9.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1605, allocations: 0 / 446.5 MB, free: 9.324 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008465/0.1614, allocations: 0.5155 MB / 447 MB, free: 8.754 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.1614, allocations: 12.03 kB / 447 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.968e-05/0.1615, allocations: 38.44 kB / 447 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.522e-05/0.1616, allocations: 23.72 kB / 447.1 MB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.1619, allocations: 270.5 kB / 447.3 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.162, allocations: 4 kB / 447.3 MB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.162, allocations: 8 kB / 447.3 MB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/0.1623, allocations: 108.2 kB / 447.4 MB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1623, allocations: 0 / 447.4 MB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.1623, allocations: 7.938 kB / 447.4 MB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1624, allocations: 0 / 447.4 MB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.1625, allocations: 39.97 kB / 447.5 MB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005839/0.1631, allocations: 373.6 kB / 447.8 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.1634, allocations: 121.3 kB / 448 MB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.1634, allocations: 4 kB / 448 MB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002582/0.1637, allocations: 117.1 kB / 448.1 MB, free: 7.496 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 4.108e-06/0.1637, allocations: 0 / 448.1 MB, free: 7.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004567/0.1642, allocations: 181.2 kB / 448.3 MB, free: 7.312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.1643, allocations: 106.8 kB / 448.4 MB, free: 7.184 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003952/0.1647, allocations: 334.9 kB / 448.7 MB, free: 6.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.1647, allocations: 25.7 kB / 448.7 MB, free: 6.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.1648, allocations: 144 kB / 448.9 MB, free: 6.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.1648, allocations: 27.62 kB / 448.9 MB, free: 6.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-06/0.1649, allocations: 8 kB / 448.9 MB, free: 6.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.165, allocations: 330.8 kB / 449.2 MB, free: 6.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.824e-05/0.1651, allocations: 35.92 kB / 449.2 MB, free: 6.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.1652, allocations: 77.06 kB / 449.3 MB, free: 6.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.1653, allocations: 48.52 kB / 449.4 MB, free: 6.129 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1654, allocations: 0 / 449.4 MB, free: 6.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002782/0.1656, allocations: 141.3 kB / 449.5 MB, free: 5.984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.1657, allocations: 7.953 kB / 449.5 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1657, allocations: 0 / 449.5 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.1657, allocations: 7.938 kB / 449.5 MB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.1659, allocations: 23.92 kB / 449.5 MB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.1659, allocations: 8.062 kB / 449.6 MB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.531e-05/0.166, allocations: 11.98 kB / 449.6 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.166, allocations: 4 kB / 449.6 MB, free: 5.922 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.000175/0.1662, allocations: 157.8 kB / 449.7 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.1662, allocations: 19.72 kB / 449.7 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.35e-05/0.1663, allocations: 33.69 kB / 449.8 MB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1663, allocations: 0 / 449.8 MB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.1663, allocations: 4 kB / 449.8 MB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1663, allocations: 11.92 kB / 449.8 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.1666, allocations: 249.5 kB / 450 MB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1666, allocations: 0 / 450 MB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.332e-05/0.1666, allocations: 8 kB / 450 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1667, allocations: 0 / 450 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.1667, allocations: 8 kB / 450.1 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1667, allocations: 3.953 kB / 450.1 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1667, allocations: 0 / 450.1 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.1671, allocations: 191.3 kB / 450.2 MB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.1672, allocations: 104.8 kB / 450.3 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/0.1672, allocations: 20.02 kB / 450.4 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.485e-05/0.1673, allocations: 7.984 kB / 450.4 MB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.1674, allocations: 4 kB / 450.4 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.1674, allocations: 7.984 kB / 450.4 MB, free: 5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002798/0.1677, allocations: 249.9 kB / 450.6 MB, free: 4.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1677, allocations: 0 / 450.6 MB, free: 4.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.168, allocations: 39.98 kB / 450.7 MB, free: 4.723 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001736/0.1697, allocations: 1.111 MB / 451.8 MB, free: 3.617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000284/0.17, allocations: 91.91 kB / 451.9 MB, free: 3.527 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1701, allocations: 0 / 451.9 MB, free: 3.527 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.1702, allocations: 47.97 kB / 451.9 MB, free: 3.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.1705, allocations: 52.78 kB / 452 MB, free: 3.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.1728, allocations: 1.674 MB / 453.6 MB, free: 1.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.1731, allocations: 0.7479 MB / 454.4 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.1733, allocations: 33.94 kB / 454.4 MB, free: 0.875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.1734, allocations: 63.41 kB / 454.5 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1734, allocations: 0 / 454.5 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2482/0.4216, allocations: 4.982 MB / 459.5 MB, free: 45.06 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/0.4218, allocations: 213.1 kB / 459.7 MB, free: 44.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.217, allocations: 4 kB / 459.7 MB, free: 44.81 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat does not exist to compare? outputFormat=mat