Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001289, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 207.5 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2352/0.2352, allocations: 46.92 MB / 357 MB, free: 10.22 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 75.89 kB / 0.4911 GB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1401, allocations: 66.04 MB / 0.5555 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003446/0.1435, allocations: 1.74 MB / 0.5572 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002588/0.1461, allocations: 1.642 MB / 0.5588 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.092e-05/0.1462, allocations: 0 / 0.5588 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.1465, allocations: 39.77 kB / 0.5589 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004645/0.147, allocations: 103.5 kB / 0.559 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.1472, allocations: 75.67 kB / 0.5591 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.1473, allocations: 111.7 kB / 0.5592 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.918e-05/0.1474, allocations: 8 kB / 0.5592 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.1476, allocations: 51.78 kB / 0.5592 GB, free: 1.715 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.1478, allocations: 47.77 kB / 0.5593 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.1478, allocations: 4 kB / 0.5593 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.148, allocations: 107.9 kB / 0.5594 GB, free: 1.559 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.148, allocations: 19.86 kB / 0.5594 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.1481, allocations: 39.73 kB / 0.5594 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.1484, allocations: 171.4 kB / 0.5596 GB, free: 1.332 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1484, allocations: 0 / 0.5596 GB, free: 1.332 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1484, allocations: 4 kB / 0.5596 GB, free: 1.328 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.1484, allocations: 0 / 0.5596 GB, free: 1.328 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.0006038/0.149, allocations: 426.6 kB / 0.56 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.1491, allocations: 11.97 kB / 0.56 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.729e-05/0.1491, allocations: 38.69 kB / 0.5601 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.509e-05/0.1492, allocations: 16.84 kB / 0.5601 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.1495, allocations: 208.8 kB / 0.5603 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.1495, allocations: 4.375 kB / 0.5603 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.1495, allocations: 11.94 kB / 0.5603 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.1497, allocations: 67.38 kB / 0.5603 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1497, allocations: 0 / 0.5603 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1497, allocations: 4 kB / 0.5604 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.1497, allocations: 0 / 0.5604 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.597e-05/0.1498, allocations: 19.92 kB / 0.5604 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.1502, allocations: 284.9 kB / 0.5606 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.1503, allocations: 58.67 kB / 0.5607 GB, free: 36 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.342e-05/0.1504, allocations: 16.86 kB / 0.5607 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.1504, allocations: 11.91 kB / 0.5607 GB, free: 4 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.1506, allocations: 75.33 kB / 0.5608 GB, free: 15.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1506, allocations: 4 kB / 0.5608 GB, free: 15.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005906/0.1512, allocations: 169.3 kB / 0.561 GB, free: 15.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/0.1513, allocations: 81.09 kB / 0.561 GB, free: 15.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.1515, allocations: 167 kB / 0.5612 GB, free: 15.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.1515, allocations: 29.7 kB / 0.5612 GB, free: 15.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.1517, allocations: 96.14 kB / 0.5613 GB, free: 15.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.1517, allocations: 31.73 kB / 0.5614 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.1518, allocations: 17.72 kB / 0.5614 GB, free: 15.28 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002516/0.152, allocations: 326.8 kB / 0.5617 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.366e-05/0.1521, allocations: 23.98 kB / 0.5617 GB, free: 14.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.354e-05/0.1522, allocations: 42.56 kB / 0.5617 GB, free: 14.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.1523, allocations: 61.64 kB / 0.5618 GB, free: 14.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1523, allocations: 0 / 0.5618 GB, free: 14.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001974/0.1525, allocations: 101.6 kB / 0.5619 GB, free: 14.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1525, allocations: 8 kB / 0.5619 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1525, allocations: 0 / 0.5619 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1525, allocations: 0 / 0.5619 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.593e-05/0.1526, allocations: 15.98 kB / 0.5619 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1526, allocations: 8.312 kB / 0.5619 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.452e-05/0.1527, allocations: 7.938 kB / 0.5619 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1527, allocations: 4 kB / 0.5619 GB, free: 14.66 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.0001024/0.1528, allocations: 121.8 kB / 0.5621 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.1528, allocations: 15.98 kB / 0.5621 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.066e-05/0.1528, allocations: 16.7 kB / 0.5621 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1528, allocations: 0 / 0.5621 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1528, allocations: 0 / 0.5621 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1529, allocations: 3.938 kB / 0.5621 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.1533, allocations: 403.3 kB / 0.5625 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1533, allocations: 0 / 0.5625 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.776e-05/0.1534, allocations: 15.92 kB / 0.5625 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1534, allocations: 7.969 kB / 0.5625 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.1534, allocations: 0 / 0.5625 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1534, allocations: 4 kB / 0.5625 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1534, allocations: 0 / 0.5625 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.1536, allocations: 200.8 kB / 0.5627 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.1537, allocations: 85.05 kB / 0.5628 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.1537, allocations: 11.88 kB / 0.5628 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.455e-05/0.1538, allocations: 4 kB / 0.5628 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.1538, allocations: 11.98 kB / 0.5628 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.1539, allocations: 4 kB / 0.5628 GB, free: 13.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.154, allocations: 131.2 kB / 0.5629 GB, free: 13.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.154, allocations: 4 kB / 0.5629 GB, free: 13.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003085/0.1543, allocations: 43.86 kB / 0.563 GB, free: 13.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.002424/0.1567, allocations: 1.183 MB / 0.5641 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.1569, allocations: 55.91 kB / 0.5642 GB, free: 12.42 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1569, allocations: 4.062 kB / 0.5642 GB, free: 12.42 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.176e-05/0.157, allocations: 23.94 kB / 0.5642 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.1573, allocations: 31.97 kB / 0.5642 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.1593, allocations: 1.581 MB / 0.5658 GB, free: 10.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.1596, allocations: 0.7041 MB / 0.5665 GB, free: 9.957 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.295e-05/0.1597, allocations: 13.19 kB / 0.5665 GB, free: 9.941 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.765e-05/0.1598, allocations: 35.42 kB / 0.5665 GB, free: 9.906 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1598, allocations: 0 / 0.5665 GB, free: 9.906 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02749/0.1873, allocations: 4.056 MB / 0.5705 GB, free: 5.875 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.834/8.021, allocations: 3.938 kB / 0.5705 GB, free: 5.871 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.285721777938306]