Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001647/0.001647, 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.001375/0.001375, 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.464/1.464, 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.2412/0.2412, 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.Test50,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 67.91 kB / 0.491 GB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1475, allocations: 65.99 MB / 0.5555 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003245/0.1507, allocations: 1.741 MB / 0.5572 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.1532, allocations: 1.637 MB / 0.5588 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.601e-05/0.1533, allocations: 3.938 kB / 0.5588 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.1536, allocations: 35.77 kB / 0.5588 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.154, allocations: 103.5 kB / 0.5589 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.1542, allocations: 79.66 kB / 0.559 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.1544, allocations: 115.7 kB / 0.5591 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.1545, allocations: 15.97 kB / 0.5591 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.776e-05/0.1546, allocations: 47.8 kB / 0.5591 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.1548, allocations: 55.75 kB / 0.5592 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.1548, allocations: 4 kB / 0.5592 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.155, allocations: 103.9 kB / 0.5593 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.303e-05/0.155, allocations: 31.84 kB / 0.5593 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.942e-05/0.1551, allocations: 35.73 kB / 0.5594 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.1554, allocations: 179.4 kB / 0.5595 GB, free: 1.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1554, allocations: 0 / 0.5595 GB, free: 1.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.1554, allocations: 7.938 kB / 0.5595 GB, free: 1.652 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1554, allocations: 0 / 0.5595 GB, free: 1.652 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007059/0.1561, allocations: 438.5 kB / 0.56 GB, free: 1.176 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1562, allocations: 12.03 kB / 0.56 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.997e-05/0.1562, allocations: 34.75 kB / 0.56 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.1563, allocations: 8.891 kB / 0.56 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.1566, allocations: 220.1 kB / 0.5602 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.1566, allocations: 8.312 kB / 0.5602 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.1567, allocations: 7.938 kB / 0.5602 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.1569, allocations: 75.38 kB / 0.5603 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1569, allocations: 7.953 kB / 0.5603 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.1569, allocations: 3.984 kB / 0.5603 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1569, allocations: 0 / 0.5603 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.561e-05/0.157, allocations: 31.92 kB / 0.5603 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004403/0.1574, allocations: 296.8 kB / 0.5606 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.1576, allocations: 62.67 kB / 0.5607 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.189e-05/0.1577, allocations: 32.83 kB / 0.5607 GB, free: 276 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.1577, allocations: 0 / 0.5607 GB, free: 276 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.1579, allocations: 79.33 kB / 0.5608 GB, free: 184 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1579, allocations: 0 / 0.5608 GB, free: 184 kB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006439/0.1586, allocations: 201.5 kB / 0.561 GB, free: 15.97 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.1586, allocations: 81.11 kB / 0.5611 GB, free: 15.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.1588, allocations: 176.4 kB / 0.5612 GB, free: 15.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.1588, allocations: 25.7 kB / 0.5613 GB, free: 15.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.1589, allocations: 100.2 kB / 0.5614 GB, free: 15.56 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.1589, allocations: 27.75 kB / 0.5614 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.159, allocations: 29.7 kB / 0.5614 GB, free: 15.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1591, allocations: 322.8 kB / 0.5617 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.63e-05/0.1592, allocations: 23.98 kB / 0.5617 GB, free: 15.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.1593, allocations: 54.56 kB / 0.5618 GB, free: 15.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.1595, allocations: 65.64 kB / 0.5619 GB, free: 15.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1595, allocations: 0 / 0.5619 GB, free: 15.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002252/0.1597, allocations: 117.5 kB / 0.562 GB, free: 14.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1597, allocations: 7.984 kB / 0.562 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1597, allocations: 0 / 0.562 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1597, allocations: 0 / 0.562 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1598, allocations: 27.94 kB / 0.562 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1598, allocations: 0 / 0.562 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.424e-05/0.1599, allocations: 11.92 kB / 0.562 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.1599, allocations: 4 kB / 0.562 GB, free: 14.84 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 (11): * Single equations (assignments): 11 * 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.0001123/0.16, allocations: 126.7 kB / 0.5621 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.16, allocations: 11.95 kB / 0.5622 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.1601, allocations: 16.7 kB / 0.5622 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1601, allocations: 0 / 0.5622 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1601, allocations: 4 kB / 0.5622 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1601, allocations: 7.938 kB / 0.5622 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.1606, allocations: 415.2 kB / 0.5626 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1606, allocations: 4 kB / 0.5626 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.859e-05/0.1607, allocations: 8 kB / 0.5626 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1607, allocations: 3.938 kB / 0.5626 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.1607, allocations: 7.984 kB / 0.5626 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1607, allocations: 96 / 0.5626 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1607, allocations: 7.875 kB / 0.5626 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.161, allocations: 212.4 kB / 0.5628 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/0.161, allocations: 89.05 kB / 0.5629 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.1611, allocations: 3.938 kB / 0.5629 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.092e-05/0.1611, allocations: 11.94 kB / 0.5629 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.1612, allocations: 7.984 kB / 0.5629 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.1612, allocations: 4 kB / 0.5629 GB, free: 13.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.1613, allocations: 135.2 kB / 0.563 GB, free: 13.69 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1613, allocations: 0 / 0.563 GB, free: 13.69 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003116/0.1616, allocations: 47.86 kB / 0.5631 GB, free: 13.64 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 (9): * Single equations (assignments): 7 * 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.002562/0.1642, allocations: 1.203 MB / 0.5643 GB, free: 12.63 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.1644, allocations: 67.84 kB / 0.5643 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1644, allocations: 0 / 0.5643 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.347e-05/0.1645, allocations: 35.92 kB / 0.5644 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.1648, allocations: 24.09 kB / 0.5644 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.167, allocations: 1.656 MB / 0.566 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.1674, allocations: 0.7006 MB / 0.5667 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.65e-05/0.1675, allocations: 32.56 kB / 0.5667 GB, free: 9.992 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.055e-05/0.1676, allocations: 43.41 kB / 0.5668 GB, free: 9.949 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1676, allocations: 0 / 0.5668 GB, free: 9.949 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.1962, allocations: 4.215 MB / 0.5709 GB, free: 5.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.92/8.116, allocations: 11.94 kB / 0.5709 GB, free: 5.738 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.334668490002514]