Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001655/0.001655, allocations: 128.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.002016/0.002016, 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.676/1.676, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2443/0.2443, 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.Test29,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 71.91 kB / 0.491 GB, free: 7.852 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1486, allocations: 65.99 MB / 0.5555 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003904/0.1525, allocations: 1.731 MB / 0.5572 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.1545, allocations: 1.038 MB / 0.5582 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1546, allocations: 3.938 kB / 0.5582 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.155, allocations: 39.77 kB / 0.5582 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003793/0.1553, allocations: 95.59 kB / 0.5583 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.1556, allocations: 75.67 kB / 0.5584 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.1558, allocations: 107.7 kB / 0.5585 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.156, allocations: 8 kB / 0.5585 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.1561, allocations: 51.72 kB / 0.5585 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.866e-05/0.1562, allocations: 35.84 kB / 0.5586 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1562, allocations: 4 kB / 0.5586 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.1563, allocations: 43.98 kB / 0.5586 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.578e-05/0.1564, allocations: 19.92 kB / 0.5586 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.1564, allocations: 35.73 kB / 0.5587 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.1567, allocations: 123.4 kB / 0.5588 GB, free: 2.312 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1567, allocations: 3.984 kB / 0.5588 GB, free: 2.309 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1567, allocations: 4 kB / 0.5588 GB, free: 2.305 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1567, allocations: 0 / 0.5588 GB, free: 2.305 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.0006742/0.1574, allocations: 422.6 kB / 0.5592 GB, free: 1.844 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.1574, allocations: 16.02 kB / 0.5592 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.459e-05/0.1575, allocations: 30.75 kB / 0.5592 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.1575, allocations: 8.891 kB / 0.5592 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004451/0.1579, allocations: 215.2 kB / 0.5594 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.158, allocations: 384 / 0.5594 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.158, allocations: 7.938 kB / 0.5595 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.1581, allocations: 57.61 kB / 0.5595 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1582, allocations: 0 / 0.5595 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1582, allocations: 4 kB / 0.5595 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1582, allocations: 4 kB / 0.5595 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.351e-05/0.1583, allocations: 15.98 kB / 0.5595 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/0.1588, allocations: 296.8 kB / 0.5598 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.159, allocations: 58.61 kB / 0.5599 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.784e-05/0.159, allocations: 20.86 kB / 0.5599 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.1591, allocations: 7.969 kB / 0.5599 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.1592, allocations: 71.39 kB / 0.56 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/0.1592, allocations: 0 / 0.56 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006321/0.1599, allocations: 169.4 kB / 0.5601 GB, free: 0.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.1599, allocations: 55.39 kB / 0.5602 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.1601, allocations: 206.3 kB / 0.5604 GB, free: 484 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.1602, allocations: 25.7 kB / 0.5604 GB, free: 452 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.1602, allocations: 100.1 kB / 0.5605 GB, free: 348 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.1603, allocations: 23.78 kB / 0.5605 GB, free: 324 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.1603, allocations: 25.72 kB / 0.5605 GB, free: 292 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.1605, allocations: 322.8 kB / 0.5609 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.475e-05/0.1606, allocations: 23.98 kB / 0.5609 GB, free: 15.94 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.012e-05/0.1606, allocations: 41.64 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1608, allocations: 57.7 kB / 0.561 GB, free: 15.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1608, allocations: 0 / 0.561 GB, free: 15.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001978/0.161, allocations: 109.6 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.161, allocations: 4 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.161, allocations: 4 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.161, allocations: 0 / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.564e-05/0.1611, allocations: 15.98 kB / 0.5611 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1611, allocations: 4.031 kB / 0.5611 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.1611, allocations: 8.125 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.1611, allocations: 8 kB / 0.5611 GB, free: 15.67 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.0001108/0.1613, allocations: 131.9 kB / 0.5612 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.1613, allocations: 11.91 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.1613, allocations: 21.39 kB / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1613, allocations: 0 / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1613, allocations: 0 / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.1613, allocations: 7.938 kB / 0.5613 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.1618, allocations: 391.3 kB / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1618, allocations: 0 / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.485e-05/0.1619, allocations: 11.98 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1619, allocations: 7.875 kB / 0.5617 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.1619, allocations: 8 kB / 0.5617 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1619, allocations: 0 / 0.5617 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1619, allocations: 0 / 0.5617 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.1621, allocations: 200.3 kB / 0.5619 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.89e-05/0.1622, allocations: 93.02 kB / 0.562 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.1622, allocations: 4.312 kB / 0.562 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.922e-05/0.1623, allocations: 7.984 kB / 0.562 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.1624, allocations: 4 kB / 0.562 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.1624, allocations: 8 kB / 0.562 GB, free: 14.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001554/0.1625, allocations: 152.2 kB / 0.5621 GB, free: 14.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1625, allocations: 0 / 0.5621 GB, free: 14.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.1628, allocations: 27.92 kB / 0.5622 GB, free: 14.5 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.002321/0.1651, allocations: 1.09 MB / 0.5632 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.1653, allocations: 55.95 kB / 0.5633 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1653, allocations: 3.938 kB / 0.5633 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.756e-05/0.1654, allocations: 28.08 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.0003794/0.1658, allocations: 40.03 kB / 0.5633 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.1678, allocations: 1.658 MB / 0.565 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.1682, allocations: 0.708 MB / 0.5657 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.378e-05/0.1682, allocations: 16.88 kB / 0.5657 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.406e-05/0.1683, allocations: 35.42 kB / 0.5657 GB, free: 10.9 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1683, allocations: 0 / 0.5657 GB, free: 10.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/0.1949, allocations: 3.479 MB / 0.5691 GB, free: 7.488 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.795/7.99, allocations: 15.94 kB / 0.5691 GB, free: 7.473 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29_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_Test29.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.490670487997704]