Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.00156/0.00156, allocations: 123.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.001737/0.001737, allocations: 200.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.544/1.544, 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.2607/0.2607, allocations: 46.91 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.Test27,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 63.91 kB / 0.491 GB, free: 7.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1478, allocations: 65.99 MB / 0.5555 GB, free: 5.738 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003936/0.1518, allocations: 1.734 MB / 0.5572 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.1537, allocations: 1.03 MB / 0.5582 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.568e-05/0.1538, allocations: 0 / 0.5582 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.1542, allocations: 43.77 kB / 0.5582 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003913/0.1546, allocations: 103.5 kB / 0.5583 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.1548, allocations: 71.73 kB / 0.5584 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.155, allocations: 107.6 kB / 0.5585 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1552, allocations: 11.98 kB / 0.5585 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.1553, allocations: 43.8 kB / 0.5585 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.349e-05/0.1554, allocations: 31.83 kB / 0.5586 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.1554, allocations: 4 kB / 0.5586 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.1555, allocations: 47.92 kB / 0.5586 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.864e-05/0.1556, allocations: 23.92 kB / 0.5586 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.857e-05/0.1556, allocations: 39.73 kB / 0.5587 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.1559, allocations: 119.4 kB / 0.5588 GB, free: 2.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1559, allocations: 0 / 0.5588 GB, free: 2.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1559, allocations: 0 / 0.5588 GB, free: 2.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.1559, allocations: 0 / 0.5588 GB, free: 2.32 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.0007182/0.1566, allocations: 418.7 kB / 0.5592 GB, free: 1.863 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.1567, allocations: 15.97 kB / 0.5592 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.1567, allocations: 38.73 kB / 0.5592 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.1568, allocations: 8.891 kB / 0.5592 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.1571, allocations: 215.2 kB / 0.5594 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1572, allocations: 4.375 kB / 0.5594 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.1572, allocations: 7.938 kB / 0.5595 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.1574, allocations: 53.66 kB / 0.5595 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.1574, allocations: 4 kB / 0.5595 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1574, allocations: 4 kB / 0.5595 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.1574, allocations: 0 / 0.5595 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.973e-05/0.1575, allocations: 19.92 kB / 0.5595 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.1579, allocations: 300.8 kB / 0.5598 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.1581, allocations: 54.67 kB / 0.5599 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.197e-05/0.1582, allocations: 16.86 kB / 0.5599 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.1582, allocations: 4 kB / 0.5599 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.1584, allocations: 71.31 kB / 0.56 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1584, allocations: 0 / 0.56 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005903/0.159, allocations: 177.4 kB / 0.5601 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.159, allocations: 55.41 kB / 0.5602 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.1592, allocations: 194.3 kB / 0.5604 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.1593, allocations: 29.7 kB / 0.5604 GB, free: 468 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.018e-05/0.1593, allocations: 108.1 kB / 0.5605 GB, free: 356 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.1594, allocations: 27.78 kB / 0.5605 GB, free: 328 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.1594, allocations: 21.72 kB / 0.5605 GB, free: 300 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1596, allocations: 326.8 kB / 0.5609 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.277e-05/0.1597, allocations: 19.98 kB / 0.5609 GB, free: 15.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.445e-05/0.1597, allocations: 33.7 kB / 0.5609 GB, free: 15.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.1599, allocations: 69.62 kB / 0.561 GB, free: 15.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1599, allocations: 0 / 0.561 GB, free: 15.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001948/0.1601, allocations: 101.7 kB / 0.5611 GB, free: 15.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.1601, allocations: 10.03 kB / 0.5611 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1601, allocations: 0 / 0.5611 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.1601, allocations: 3.938 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.1602, allocations: 19.98 kB / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.1602, allocations: 4 kB / 0.5611 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.1603, allocations: 3.938 kB / 0.5611 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1603, allocations: 4 kB / 0.5611 GB, free: 15.68 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.0001366/0.1604, allocations: 132 kB / 0.5612 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.1604, allocations: 15.91 kB / 0.5613 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.1605, allocations: 13.41 kB / 0.5613 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1605, allocations: 0 / 0.5613 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.1605, allocations: 0 / 0.5613 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.1605, allocations: 7.922 kB / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005336/0.161, allocations: 391.3 kB / 0.5617 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.161, allocations: 0 / 0.5617 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.062e-05/0.1611, allocations: 15.97 kB / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1611, allocations: 7.875 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1611, allocations: 7.984 kB / 0.5617 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1611, allocations: 0 / 0.5617 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1611, allocations: 0 / 0.5617 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.1614, allocations: 196.3 kB / 0.5619 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.1614, allocations: 89.02 kB / 0.562 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.1614, allocations: 11.94 kB / 0.562 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.846e-05/0.1615, allocations: 4.375 kB / 0.562 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.1616, allocations: 7.984 kB / 0.562 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.1616, allocations: 4 kB / 0.562 GB, free: 14.69 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.1617, allocations: 148.2 kB / 0.5621 GB, free: 14.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1617, allocations: 192 / 0.5621 GB, free: 14.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.162, allocations: 27.88 kB / 0.5621 GB, free: 14.52 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.002239/0.1642, allocations: 1.101 MB / 0.5632 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.1644, allocations: 55.92 kB / 0.5633 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1644, allocations: 0 / 0.5633 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.279e-05/0.1645, allocations: 32.06 kB / 0.5633 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.1649, allocations: 35.47 kB / 0.5633 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.1669, allocations: 1.666 MB / 0.565 GB, free: 11.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.1672, allocations: 0.7041 MB / 0.5657 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.592e-05/0.1673, allocations: 12.88 kB / 0.5657 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.352e-05/0.1674, allocations: 35.42 kB / 0.5657 GB, free: 10.91 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1674, allocations: 0 / 0.5657 GB, free: 10.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/0.1941, allocations: 3.484 MB / 0.5691 GB, free: 7.496 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/8.018, allocations: 11.94 kB / 0.5691 GB, free: 7.484 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.348372241001925]