Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.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.001599/0.001599, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001559/0.001559, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.5/1.5, allocations: 230.4 MB / 254 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2377/0.2377, allocations: 46.92 MB / 357 MB, free: 10.17 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 79.88 kB / 0.491 GB, free: 7.637 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1534, allocations: 66.05 MB / 0.5555 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003924/0.1574, allocations: 1.977 MB / 0.5575 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.1596, allocations: 1.204 MB / 0.5586 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.1598, allocations: 7.938 kB / 0.5586 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007292/0.1605, allocations: 195.4 kB / 0.5588 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005396/0.1611, allocations: 203.8 kB / 0.559 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.1616, allocations: 167.5 kB / 0.5592 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004005/0.162, allocations: 267.3 kB / 0.5594 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1621, allocations: 20.3 kB / 0.5595 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.1623, allocations: 115.5 kB / 0.5596 GB, free: 1.301 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.1624, allocations: 115.5 kB / 0.5597 GB, free: 1.188 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.1625, allocations: 12 kB / 0.5597 GB, free: 1.176 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.1626, allocations: 63.95 kB / 0.5598 GB, free: 1.113 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.133e-05/0.1627, allocations: 55.77 kB / 0.5598 GB, free: 1.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.1628, allocations: 83.41 kB / 0.5599 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003608/0.1632, allocations: 250.9 kB / 0.5601 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1632, allocations: 0 / 0.5601 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1632, allocations: 4 kB / 0.5601 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.1632, allocations: 0 / 0.5601 GB, free: 0.7266 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009192/0.1641, allocations: 0.5659 MB / 0.5607 GB, free: 108 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1641, allocations: 8.031 kB / 0.5607 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.099e-05/0.1642, allocations: 38.75 kB / 0.5607 GB, free: 52 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.224e-05/0.1642, allocations: 24.8 kB / 0.5607 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004247/0.1647, allocations: 295.7 kB / 0.561 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1647, allocations: 8.375 kB / 0.561 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1647, allocations: 4.375 kB / 0.561 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.1649, allocations: 116.2 kB / 0.5612 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1649, allocations: 0 / 0.5612 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.165, allocations: 7.922 kB / 0.5612 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.165, allocations: 0 / 0.5612 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.1651, allocations: 43.92 kB / 0.5612 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005428/0.1656, allocations: 381.5 kB / 0.5616 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.166, allocations: 113.2 kB / 0.5617 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.1661, allocations: 41.7 kB / 0.5617 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.1661, allocations: 3.984 kB / 0.5617 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/0.1663, allocations: 113 kB / 0.5618 GB, free: 14.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.1663, allocations: 0 / 0.5618 GB, free: 14.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004748/0.1668, allocations: 185.4 kB / 0.562 GB, free: 14.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/0.1669, allocations: 106.8 kB / 0.5621 GB, free: 14.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004438/0.1673, allocations: 351.3 kB / 0.5624 GB, free: 14.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.1674, allocations: 33.69 kB / 0.5625 GB, free: 14.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.1675, allocations: 136.1 kB / 0.5626 GB, free: 13.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.1675, allocations: 39.8 kB / 0.5626 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/0.1676, allocations: 29.7 kB / 0.5627 GB, free: 13.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1677, allocations: 346.8 kB / 0.563 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.513e-05/0.1678, allocations: 27.98 kB / 0.563 GB, free: 13.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.168, allocations: 83.23 kB / 0.5631 GB, free: 13.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.1682, allocations: 95.89 kB / 0.5632 GB, free: 13.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1682, allocations: 0 / 0.5632 GB, free: 13.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002995/0.1685, allocations: 145.5 kB / 0.5633 GB, free: 13.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1685, allocations: 11.98 kB / 0.5633 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1685, allocations: 3.938 kB / 0.5633 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1685, allocations: 3.938 kB / 0.5634 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.1686, allocations: 20 kB / 0.5634 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1686, allocations: 3.984 kB / 0.5634 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.68e-05/0.1687, allocations: 23.95 kB / 0.5634 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.1687, allocations: 4 kB / 0.5634 GB, free: 13.06 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.1689, allocations: 149.7 kB / 0.5635 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/0.1689, allocations: 31.8 kB / 0.5636 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.372e-05/0.169, allocations: 29.83 kB / 0.5636 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.169, allocations: 3.984 kB / 0.5636 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.169, allocations: 0 / 0.5636 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.169, allocations: 0 / 0.5636 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.1693, allocations: 253.5 kB / 0.5638 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1693, allocations: 7.984 kB / 0.5639 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/0.1693, allocations: 8 kB / 0.5639 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1693, allocations: 0 / 0.5639 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1693, allocations: 4 kB / 0.5639 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1693, allocations: 0 / 0.5639 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.1693, allocations: 0 / 0.5639 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.1697, allocations: 201.5 kB / 0.5641 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.239e-05/0.1698, allocations: 96.97 kB / 0.5642 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/0.1698, allocations: 8.125 kB / 0.5642 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.1699, allocations: 7.984 kB / 0.5642 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.1699, allocations: 11.98 kB / 0.5642 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.1699, allocations: 4 kB / 0.5642 GB, free: 12.15 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003054/0.1703, allocations: 261.9 kB / 0.5644 GB, free: 11.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1703, allocations: 0 / 0.5644 GB, free: 11.9 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000281/0.1705, allocations: 39.88 kB / 0.5645 GB, free: 11.86 MB / 430.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 (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.002202/0.1727, allocations: 1.023 MB / 0.5655 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002877/0.173, allocations: 91.89 kB / 0.5656 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.173, allocations: 4.125 kB / 0.5656 GB, free: 10.85 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.1731, allocations: 39.92 kB / 0.5656 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.1736, allocations: 60.39 kB / 0.5657 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003263/0.1768, allocations: 2.344 MB / 0.5679 GB, free: 8.301 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.1773, allocations: 0.7519 MB / 0.5687 GB, free: 7.523 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001257/0.1774, allocations: 37.91 kB / 0.5687 GB, free: 7.488 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.1775, allocations: 71.41 kB / 0.5688 GB, free: 7.422 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1775, allocations: 0 / 0.5688 GB, free: 7.422 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03169/0.2092, allocations: 5.838 MB / 0.5745 GB, free: 1.652 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.276, allocations: 4.062 kB / 0.5745 GB, free: 1.648 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv --start-time 1 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable booleanTable.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv. Warning: Get data of variable booleanTable.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv failed! Error: Could not read variable booleanTable.realToBoolean.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv. Warning: Get data of variable booleanTable.realToBoolean.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.534358542994596]