Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.001275/0.001275, allocations: 124.5 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.001402/0.001402, allocations: 207.2 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.482/1.482, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2442/0.2442, allocations: 46.92 MB / 357.1 MB, free: 10.31 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.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 63.91 kB / 0.491 GB, free: 7.867 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1551, allocations: 66 MB / 0.5555 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003593/0.1587, allocations: 1.723 MB / 0.5572 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.1605, allocations: 1.027 MB / 0.5582 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.623e-05/0.1606, allocations: 4 kB / 0.5582 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003371/0.1609, allocations: 39.77 kB / 0.5582 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003512/0.1613, allocations: 103.5 kB / 0.5583 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.1615, allocations: 75.72 kB / 0.5584 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.1617, allocations: 103.6 kB / 0.5585 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1618, allocations: 11.98 kB / 0.5585 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1619, allocations: 47.78 kB / 0.5585 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.774e-05/0.162, allocations: 31.84 kB / 0.5586 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.162, allocations: 4 kB / 0.5586 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.1622, allocations: 47.92 kB / 0.5586 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.029e-05/0.1622, allocations: 23.91 kB / 0.5586 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.533e-05/0.1623, allocations: 31.75 kB / 0.5587 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.1626, allocations: 119.5 kB / 0.5588 GB, free: 2.332 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1626, allocations: 0 / 0.5588 GB, free: 2.332 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1626, allocations: 0 / 0.5588 GB, free: 2.332 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.1626, allocations: 0 / 0.5588 GB, free: 2.332 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007366/0.1633, allocations: 418.7 kB / 0.5592 GB, free: 1.875 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.1634, allocations: 11.97 kB / 0.5592 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.776e-05/0.1634, allocations: 34.75 kB / 0.5592 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.1635, allocations: 16.84 kB / 0.5592 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.1639, allocations: 214.3 kB / 0.5594 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.1639, allocations: 12.38 kB / 0.5594 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.1639, allocations: 3.938 kB / 0.5594 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.1641, allocations: 61.66 kB / 0.5595 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1641, allocations: 0 / 0.5595 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1641, allocations: 0 / 0.5595 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.1641, allocations: 3.984 kB / 0.5595 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.654e-05/0.1642, allocations: 19.94 kB / 0.5595 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.1647, allocations: 284.9 kB / 0.5598 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.1649, allocations: 50.69 kB / 0.5599 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.837e-05/0.1649, allocations: 20.84 kB / 0.5599 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.165, allocations: 8 kB / 0.5599 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.1652, allocations: 63.33 kB / 0.5599 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.1652, allocations: 4 kB / 0.5599 GB, free: 0.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000633/0.1658, allocations: 181.3 kB / 0.5601 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.1658, allocations: 51.41 kB / 0.5602 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.1661, allocations: 185.6 kB / 0.5603 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.1661, allocations: 29.69 kB / 0.5604 GB, free: 496 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.104e-05/0.1662, allocations: 96.14 kB / 0.5605 GB, free: 396 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.1662, allocations: 23.84 kB / 0.5605 GB, free: 372 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.1663, allocations: 21.72 kB / 0.5605 GB, free: 344 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.1664, allocations: 330.8 kB / 0.5608 GB, free: 4 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.1665, allocations: 19.98 kB / 0.5608 GB, free: 15.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.1666, allocations: 37.69 kB / 0.5609 GB, free: 15.94 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.1668, allocations: 69.58 kB / 0.5609 GB, free: 15.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1668, allocations: 0 / 0.5609 GB, free: 15.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000194/0.1669, allocations: 101.7 kB / 0.561 GB, free: 15.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.167, allocations: 4 kB / 0.561 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.167, allocations: 4 kB / 0.561 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.167, allocations: 3.938 kB / 0.561 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1671, allocations: 19.98 kB / 0.5611 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1671, allocations: 0 / 0.5611 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.1672, allocations: 7.938 kB / 0.5611 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.1672, allocations: 4 kB / 0.5611 GB, free: 15.72 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 (10): * Single equations (assignments): 10 * 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.0001345/0.1673, allocations: 125.8 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.1673, allocations: 12.36 kB / 0.5612 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.841e-05/0.1674, allocations: 13.59 kB / 0.5612 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1674, allocations: 0 / 0.5612 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.371e-06/0.1674, allocations: 7.938 kB / 0.5612 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.1674, allocations: 11.92 kB / 0.5612 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005297/0.1679, allocations: 391.3 kB / 0.5616 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1679, allocations: 0 / 0.5616 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.168, allocations: 11.94 kB / 0.5616 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.168, allocations: 11.97 kB / 0.5616 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.168, allocations: 0 / 0.5616 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.168, allocations: 0 / 0.5616 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.168, allocations: 3.984 kB / 0.5616 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.1683, allocations: 196.3 kB / 0.5618 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/0.1683, allocations: 89.02 kB / 0.5619 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.1683, allocations: 7.938 kB / 0.5619 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-05/0.1684, allocations: 4 kB / 0.5619 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.1685, allocations: 11.98 kB / 0.5619 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.1685, allocations: 4 kB / 0.5619 GB, free: 14.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.1686, allocations: 137.8 kB / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1686, allocations: 4 kB / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.1689, allocations: 27.88 kB / 0.5621 GB, free: 14.56 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: 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 (8): * Single equations (assignments): 6 * 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.002285/0.1712, allocations: 1.09 MB / 0.5632 GB, free: 13.63 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.1714, allocations: 63.89 kB / 0.5632 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1714, allocations: 0 / 0.5632 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.76e-05/0.1715, allocations: 31.92 kB / 0.5633 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.1718, allocations: 27.91 kB / 0.5633 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.1739, allocations: 1.645 MB / 0.5649 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.1742, allocations: 0.708 MB / 0.5656 GB, free: 11.03 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.328e-05/0.1743, allocations: 16.81 kB / 0.5656 GB, free: 11.01 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.29e-05/0.1744, allocations: 35.42 kB / 0.5656 GB, free: 10.98 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1744, allocations: 0 / 0.5656 GB, free: 10.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.2, allocations: 3.424 MB / 0.569 GB, free: 7.621 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.775/7.975, allocations: 15.92 kB / 0.569 GB, free: 7.605 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.224647474999074]