Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 123.4 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 254.1 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2381/0.2381, allocations: 46.93 MB / 357.1 MB, free: 10.28 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 64.05 kB / 0.491 GB, free: 7.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1493, allocations: 65.99 MB / 0.5554 GB, free: 5.719 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003128/0.1524, allocations: 1.687 MB / 0.5571 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.1541, allocations: 1.011 MB / 0.5581 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.466e-05/0.1542, allocations: 7.938 kB / 0.5581 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003307/0.1545, allocations: 95.62 kB / 0.5582 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.1548, allocations: 111.6 kB / 0.5583 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.155, allocations: 75.67 kB / 0.5584 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.1552, allocations: 107.7 kB / 0.5585 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.468e-05/0.1552, allocations: 4.234 kB / 0.5585 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.1554, allocations: 51.77 kB / 0.5585 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.1555, allocations: 63.69 kB / 0.5586 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.1555, allocations: 4 kB / 0.5586 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.767e-05/0.1556, allocations: 35.98 kB / 0.5586 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.034e-05/0.1557, allocations: 23.91 kB / 0.5586 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.566e-05/0.1557, allocations: 35.75 kB / 0.5587 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.1559, allocations: 111.4 kB / 0.5588 GB, free: 2.289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1559, allocations: 7.938 kB / 0.5588 GB, free: 2.281 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1559, allocations: 0 / 0.5588 GB, free: 2.281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1559, allocations: 0 / 0.5588 GB, free: 2.281 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006438/0.1566, allocations: 422.6 kB / 0.5592 GB, free: 1.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1566, allocations: 8.031 kB / 0.5592 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.1567, allocations: 38.75 kB / 0.5592 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.1567, allocations: 16.84 kB / 0.5592 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.157, allocations: 216.1 kB / 0.5594 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.1571, allocations: 384 / 0.5594 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.1571, allocations: 7.938 kB / 0.5595 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1572, allocations: 49.67 kB / 0.5595 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1572, allocations: 3.984 kB / 0.5595 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1572, allocations: 4 kB / 0.5595 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1573, allocations: 4 kB / 0.5595 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.144e-05/0.1573, allocations: 19.92 kB / 0.5595 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/0.1575, allocations: 185.7 kB / 0.5597 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.1577, allocations: 50.55 kB / 0.5598 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.754e-05/0.1578, allocations: 16.86 kB / 0.5598 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.1578, allocations: 0 / 0.5598 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.158, allocations: 71.39 kB / 0.5598 GB, free: 1.016 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.158, allocations: 0 / 0.5598 GB, free: 1.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000303/0.1583, allocations: 105.4 kB / 0.5599 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.1583, allocations: 51.41 kB / 0.56 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.1586, allocations: 219.5 kB / 0.5602 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1586, allocations: 25.7 kB / 0.5602 GB, free: 0.582 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.007e-05/0.1587, allocations: 104.1 kB / 0.5603 GB, free: 488 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.1587, allocations: 15.94 kB / 0.5603 GB, free: 472 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.1587, allocations: 21.72 kB / 0.5604 GB, free: 444 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1589, allocations: 322.8 kB / 0.5607 GB, free: 112 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.541e-05/0.1589, allocations: 15.98 kB / 0.5607 GB, free: 96 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.095e-05/0.159, allocations: 29.7 kB / 0.5607 GB, free: 60 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.1591, allocations: 45.64 kB / 0.5608 GB, free: 8 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1591, allocations: 7.938 kB / 0.5608 GB, free: 0 / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001875/0.1593, allocations: 85.53 kB / 0.5608 GB, free: 15.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1593, allocations: 4 kB / 0.5609 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1593, allocations: 0 / 0.5609 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1593, allocations: 4 kB / 0.5609 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.537e-05/0.1594, allocations: 15.98 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1594, allocations: 0 / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.1595, allocations: 7.938 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1595, allocations: 0 / 0.5609 GB, free: 15.88 MB / 430.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001222/0.1596, allocations: 136 kB / 0.561 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.1596, allocations: 15.84 kB / 0.561 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.461e-05/0.1597, allocations: 21.3 kB / 0.561 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1597, allocations: 0 / 0.561 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1597, allocations: 0 / 0.561 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1597, allocations: 4 kB / 0.561 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.1599, allocations: 193.6 kB / 0.5612 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1599, allocations: 4 kB / 0.5612 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.145e-05/0.1599, allocations: 3.938 kB / 0.5612 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1599, allocations: 4 kB / 0.5612 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.1599, allocations: 4 kB / 0.5612 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1599, allocations: 0 / 0.5612 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1599, allocations: 0 / 0.5612 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.1601, allocations: 109 kB / 0.5614 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.236e-05/0.1602, allocations: 89.06 kB / 0.5614 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.1602, allocations: 0 / 0.5614 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.113e-05/0.1602, allocations: 11.92 kB / 0.5614 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.1602, allocations: 0 / 0.5614 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.1603, allocations: 8 kB / 0.5615 GB, free: 15.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.1604, allocations: 165.2 kB / 0.5616 GB, free: 15.03 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1604, allocations: 0 / 0.5616 GB, free: 15.03 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002232/0.1606, allocations: 23.94 kB / 0.5616 GB, free: 15.01 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001959/0.1626, allocations: 0.9631 MB / 0.5626 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.1628, allocations: 39.92 kB / 0.5626 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1628, allocations: 0 / 0.5626 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.302e-05/0.1629, allocations: 15.98 kB / 0.5626 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.1631, allocations: 27.73 kB / 0.5627 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.1652, allocations: 1.565 MB / 0.5642 GB, free: 12.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.1655, allocations: 0.7158 MB / 0.5649 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.075e-05/0.1655, allocations: 12.55 kB / 0.5649 GB, free: 11.69 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.174e-05/0.1656, allocations: 27.44 kB / 0.5649 GB, free: 11.66 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1656, allocations: 0 / 0.5649 GB, free: 11.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/0.1925, allocations: 3.303 MB / 0.5681 GB, free: 8.426 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.793/7.986, allocations: 3.984 kB / 0.5681 GB, free: 8.422 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019972 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.255268542998238]