Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001628/0.001628, allocations: 121.3 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00199/0.00199, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2544/0.2544, allocations: 46.88 MB / 357.4 MB, free: 10.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 91.83 kB / 0.4913 GB, free: 8.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1534, allocations: 65.97 MB / 0.5558 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.004147/0.1575, allocations: 1.94 MB / 0.5576 GB, free: 4.406 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.1597, allocations: 1.13 MB / 0.5588 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.1598, allocations: 0 / 0.5588 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005889/0.1604, allocations: 267.3 kB / 0.559 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005444/0.161, allocations: 231.2 kB / 0.5592 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.1613, allocations: 111.6 kB / 0.5593 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003865/0.1617, allocations: 275.2 kB / 0.5596 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.1618, allocations: 21.67 kB / 0.5596 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.162, allocations: 135.5 kB / 0.5597 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002657/0.1623, allocations: 211.4 kB / 0.5599 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.1623, allocations: 8 kB / 0.56 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.1624, allocations: 59.98 kB / 0.56 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.1625, allocations: 71.69 kB / 0.5601 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.1626, allocations: 95.17 kB / 0.5602 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003727/0.163, allocations: 250.8 kB / 0.5604 GB, free: 1.562 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.163, allocations: 0 / 0.5604 GB, free: 1.562 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.163, allocations: 0 / 0.5604 GB, free: 1.562 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.163, allocations: 4 kB / 0.5604 GB, free: 1.559 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009228/0.164, allocations: 0.5988 MB / 0.561 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.164, allocations: 8.031 kB / 0.561 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.835e-05/0.164, allocations: 50.61 kB / 0.5611 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.1641, allocations: 32.75 kB / 0.5611 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/0.1646, allocations: 294.7 kB / 0.5614 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.1646, allocations: 4.375 kB / 0.5614 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.1646, allocations: 12.38 kB / 0.5614 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.1649, allocations: 117.1 kB / 0.5615 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.1649, allocations: 0 / 0.5615 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1649, allocations: 0 / 0.5615 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.1649, allocations: 4 kB / 0.5615 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.1651, allocations: 51.94 kB / 0.5615 GB, free: 300 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007138/0.1658, allocations: 484.8 kB / 0.562 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/0.1662, allocations: 121.2 kB / 0.5621 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.1663, allocations: 37.83 kB / 0.5622 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.1663, allocations: 11.98 kB / 0.5622 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002608/0.1666, allocations: 121 kB / 0.5623 GB, free: 15.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.1666, allocations: 0 / 0.5623 GB, free: 15.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001397/0.168, allocations: 0.5166 MB / 0.5628 GB, free: 14.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/0.168, allocations: 81.09 kB / 0.5629 GB, free: 14.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005615/0.1686, allocations: 497.7 kB / 0.5633 GB, free: 14.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.1686, allocations: 37.69 kB / 0.5634 GB, free: 14.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.1688, allocations: 168.4 kB / 0.5635 GB, free: 14.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.334e-05/0.1689, allocations: 75.42 kB / 0.5636 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.932e-05/0.1689, allocations: 37.72 kB / 0.5637 GB, free: 13.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.1691, allocations: 346.8 kB / 0.564 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.1693, allocations: 63.97 kB / 0.564 GB, free: 13.58 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.1694, allocations: 87.34 kB / 0.5641 GB, free: 13.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.1697, allocations: 163.4 kB / 0.5643 GB, free: 13.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1697, allocations: 4 kB / 0.5643 GB, free: 13.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004306/0.1701, allocations: 241.2 kB / 0.5645 GB, free: 13.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1702, allocations: 4 kB / 0.5645 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.1702, allocations: 11.92 kB / 0.5645 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.1702, allocations: 0 / 0.5645 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.1703, allocations: 39.98 kB / 0.5646 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1703, allocations: 3.938 kB / 0.5646 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.319e-05/0.1704, allocations: 8 kB / 0.5646 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.1705, allocations: 11.98 kB / 0.5646 GB, free: 12.98 MB / 430.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: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001884/0.1706, allocations: 173.9 kB / 0.5648 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.479e-05/0.1707, allocations: 39.75 kB / 0.5648 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.834e-05/0.1708, allocations: 42.83 kB / 0.5648 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1708, allocations: 4 kB / 0.5648 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1708, allocations: 0 / 0.5648 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.1708, allocations: 7.984 kB / 0.5648 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.1719, allocations: 0.7506 MB / 0.5656 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1719, allocations: 0 / 0.5656 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.943e-05/0.172, allocations: 31.92 kB / 0.5656 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.172, allocations: 4 kB / 0.5656 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.172, allocations: 8 kB / 0.5656 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.172, allocations: 0 / 0.5656 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.172, allocations: 4 kB / 0.5656 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005471/0.1726, allocations: 425.9 kB / 0.566 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.644e-05/0.1727, allocations: 108.9 kB / 0.5661 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/0.1727, allocations: 15.98 kB / 0.5662 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.1729, allocations: 8 kB / 0.5662 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.1729, allocations: 19.86 kB / 0.5662 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.173, allocations: 15.98 kB / 0.5662 GB, free: 11.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004073/0.1734, allocations: 375.1 kB / 0.5666 GB, free: 10.85 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1734, allocations: 0 / 0.5666 GB, free: 10.85 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003584/0.1737, allocations: 47.92 kB / 0.5666 GB, free: 10.8 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002767/0.1765, allocations: 1.366 MB / 0.5679 GB, free: 9.598 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003778/0.1769, allocations: 155.1 kB / 0.5681 GB, free: 9.449 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1769, allocations: 0 / 0.5681 GB, free: 9.449 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.177, allocations: 75.84 kB / 0.5682 GB, free: 9.375 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005488/0.1776, allocations: 67.62 kB / 0.5682 GB, free: 9.316 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003975/0.1815, allocations: 3.005 MB / 0.5711 GB, free: 6.188 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/0.182, allocations: 0.787 MB / 0.5719 GB, free: 5.375 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.1822, allocations: 45.86 kB / 0.572 GB, free: 5.332 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.1823, allocations: 103.4 kB / 0.5721 GB, free: 5.23 MB / 430.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1823, allocations: 0 / 0.5721 GB, free: 5.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.2142, allocations: 6.703 MB / 0.5786 GB, free: 14.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.506/8.72, allocations: 14.8 kB / 0.5786 GB, free: 14.58 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.027586391661316] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new.y', 'd2_t_new_2.y'] 8.848744719289243 8.869392942 8.703350115 Calling exit ...