Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.001389/0.001389, 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 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.001324/0.001324, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.545/1.545, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2573/0.2573, allocations: 46.92 MB / 357.1 MB, free: 10.3 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.Test26,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 83.86 kB / 0.491 GB, free: 7.852 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1509, allocations: 65.99 MB / 0.5555 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003727/0.1546, allocations: 1.741 MB / 0.5572 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.1565, allocations: 1.027 MB / 0.5582 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.139e-05/0.1566, allocations: 7.938 kB / 0.5582 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.1569, allocations: 51.75 kB / 0.5582 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.1573, allocations: 91.59 kB / 0.5583 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.1574, allocations: 79.67 kB / 0.5584 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.1576, allocations: 107.6 kB / 0.5585 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1578, allocations: 12 kB / 0.5585 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1579, allocations: 43.8 kB / 0.5585 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.23e-05/0.1579, allocations: 31.83 kB / 0.5586 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.158, allocations: 4 kB / 0.5586 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.809e-05/0.1581, allocations: 43.98 kB / 0.5586 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.915e-05/0.1581, allocations: 27.86 kB / 0.5586 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.57e-05/0.1582, allocations: 39.73 kB / 0.5587 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.1584, allocations: 123.4 kB / 0.5588 GB, free: 2.297 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1584, allocations: 0 / 0.5588 GB, free: 2.297 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1584, allocations: 0 / 0.5588 GB, free: 2.297 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1584, allocations: 0 / 0.5588 GB, free: 2.297 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.000659/0.1591, allocations: 430.6 kB / 0.5592 GB, free: 1.828 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1591, allocations: 12.03 kB / 0.5592 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.38e-05/0.1591, allocations: 34.75 kB / 0.5592 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.1592, allocations: 8.891 kB / 0.5593 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.1595, allocations: 220.1 kB / 0.5595 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1595, allocations: 4.375 kB / 0.5595 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.1595, allocations: 11.88 kB / 0.5595 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.1597, allocations: 49.67 kB / 0.5595 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1597, allocations: 4 kB / 0.5595 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1597, allocations: 4 kB / 0.5595 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1597, allocations: 0 / 0.5595 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.271e-05/0.1598, allocations: 19.98 kB / 0.5596 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.1602, allocations: 296.8 kB / 0.5598 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.1604, allocations: 58.62 kB / 0.5599 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.761e-05/0.1605, allocations: 20.84 kB / 0.5599 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1605, allocations: 0 / 0.5599 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.1607, allocations: 67.39 kB / 0.56 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.1607, allocations: 0 / 0.56 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005723/0.1613, allocations: 181.3 kB / 0.5602 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.1613, allocations: 51.41 kB / 0.5602 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.1615, allocations: 214 kB / 0.5604 GB, free: 452 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.1615, allocations: 29.7 kB / 0.5604 GB, free: 416 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.739e-05/0.1616, allocations: 100.1 kB / 0.5605 GB, free: 312 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.1616, allocations: 27.84 kB / 0.5606 GB, free: 284 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.1617, allocations: 21.72 kB / 0.5606 GB, free: 256 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1618, allocations: 326.8 kB / 0.5609 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.027e-05/0.1619, allocations: 24.3 kB / 0.5609 GB, free: 15.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-05/0.162, allocations: 37.7 kB / 0.5609 GB, free: 15.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.1621, allocations: 53.7 kB / 0.561 GB, free: 15.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/0.1621, allocations: 15.92 kB / 0.561 GB, free: 15.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001957/0.1623, allocations: 105.5 kB / 0.5611 GB, free: 15.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1623, allocations: 4 kB / 0.5611 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1623, allocations: 0 / 0.5611 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1623, allocations: 4 kB / 0.5611 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.973e-05/0.1624, allocations: 15.98 kB / 0.5611 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1624, allocations: 0 / 0.5611 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.1625, allocations: 7.938 kB / 0.5611 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.1625, allocations: 0 / 0.5611 GB, free: 15.64 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.0001199/0.1626, allocations: 140 kB / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.1626, allocations: 15.91 kB / 0.5613 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/0.1627, allocations: 13.41 kB / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1627, allocations: 0 / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1627, allocations: 3.984 kB / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.1627, allocations: 3.938 kB / 0.5613 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004718/0.1631, allocations: 391.3 kB / 0.5617 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.1631, allocations: 8.031 kB / 0.5617 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.227e-05/0.1632, allocations: 8 kB / 0.5617 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.1632, allocations: 7.922 kB / 0.5617 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1632, allocations: 8.172 kB / 0.5617 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1632, allocations: 0 / 0.5617 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1632, allocations: 8.172 kB / 0.5617 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.1634, allocations: 204.2 kB / 0.5619 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.1635, allocations: 89.06 kB / 0.562 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.1635, allocations: 7.938 kB / 0.562 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/0.1636, allocations: 7.984 kB / 0.562 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.1636, allocations: 0 / 0.562 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.1637, allocations: 4 kB / 0.562 GB, free: 14.63 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001456/0.1638, allocations: 164.3 kB / 0.5622 GB, free: 14.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1638, allocations: 0 / 0.5622 GB, free: 14.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.1641, allocations: 27.92 kB / 0.5622 GB, free: 14.44 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.002135/0.1662, allocations: 1.105 MB / 0.5633 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.1664, allocations: 51.97 kB / 0.5633 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1664, allocations: 7.938 kB / 0.5633 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.325e-05/0.1665, allocations: 23.98 kB / 0.5634 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.1668, allocations: 23.98 kB / 0.5634 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.1687, allocations: 1.696 MB / 0.565 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.1691, allocations: 0.708 MB / 0.5657 GB, free: 10.87 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.041e-05/0.1691, allocations: 20.48 kB / 0.5658 GB, free: 10.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.235e-05/0.1692, allocations: 47.3 kB / 0.5658 GB, free: 10.8 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1692, allocations: 4 kB / 0.5658 GB, free: 10.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.193, allocations: 3.509 MB / 0.5692 GB, free: 7.348 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/7.904, allocations: 23.11 kB / 0.5693 GB, free: 7.328 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26_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_Test26.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.266255252994597]