Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.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.001833/0.001833, 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.002168/0.002168, 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.558/1.558, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2284/0.2284, allocations: 46.93 MB / 357.1 MB, free: 10.4 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.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.89 kB / 0.491 GB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1392, allocations: 65.99 MB / 0.5554 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003467/0.1427, allocations: 1.859 MB / 0.5572 GB, free: 4.031 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.1447, allocations: 1.056 MB / 0.5582 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.401e-05/0.1448, allocations: 0 / 0.5582 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.1451, allocations: 67.66 kB / 0.5583 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004575/0.1455, allocations: 115.4 kB / 0.5584 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005524/0.1461, allocations: 210.9 kB / 0.5586 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000315/0.1464, allocations: 207.4 kB / 0.5588 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1465, allocations: 17.55 kB / 0.5588 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.1467, allocations: 83.67 kB / 0.5589 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.1468, allocations: 111.6 kB / 0.559 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.1469, allocations: 15.94 kB / 0.559 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.147, allocations: 47.98 kB / 0.5591 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.934e-05/0.1471, allocations: 43.81 kB / 0.5591 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.75e-05/0.1472, allocations: 75.53 kB / 0.5592 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.1475, allocations: 191.1 kB / 0.5594 GB, free: 1.805 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1475, allocations: 4 kB / 0.5594 GB, free: 1.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1475, allocations: 0 / 0.5594 GB, free: 1.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.1475, allocations: 0 / 0.5594 GB, free: 1.801 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001345/0.1489, allocations: 0.5953 MB / 0.56 GB, free: 1.145 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1489, allocations: 8.031 kB / 0.56 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.688e-05/0.1489, allocations: 34.75 kB / 0.56 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.373e-05/0.149, allocations: 16.84 kB / 0.56 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.1493, allocations: 244.8 kB / 0.5603 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.1493, allocations: 4.375 kB / 0.5603 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.294e-05/0.1494, allocations: 15.94 kB / 0.5603 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005537/0.1499, allocations: 149.4 kB / 0.5604 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1499, allocations: 0 / 0.5604 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.15, allocations: 4 kB / 0.5604 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.15, allocations: 0 / 0.5604 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008079/0.1508, allocations: 167.8 kB / 0.5606 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009721/0.1517, allocations: 440.5 kB / 0.561 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009744/0.1527, allocations: 190.4 kB / 0.5612 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004106/0.1531, allocations: 96.75 kB / 0.5613 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.1532, allocations: 0 / 0.5613 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006718/0.1538, allocations: 171.1 kB / 0.5614 GB, free: 15.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.1538, allocations: 0 / 0.5614 GB, free: 15.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.004203/0.158, allocations: 0.8327 MB / 0.5622 GB, free: 14.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.1581, allocations: 59.34 kB / 0.5623 GB, free: 14.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.1584, allocations: 261 kB / 0.5626 GB, free: 14.33 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.1584, allocations: 29.89 kB / 0.5626 GB, free: 14.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.1586, allocations: 124.1 kB / 0.5627 GB, free: 14.17 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.21e-05/0.1586, allocations: 51.77 kB / 0.5627 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.37e-05/0.1587, allocations: 33.7 kB / 0.5628 GB, free: 14.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1589, allocations: 330.8 kB / 0.5631 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007983/0.1597, allocations: 179.7 kB / 0.5633 GB, free: 13.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008012/0.1605, allocations: 177.5 kB / 0.5634 GB, free: 13.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.162, allocations: 378.2 kB / 0.5638 GB, free: 13.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.162, allocations: 0 / 0.5638 GB, free: 13.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001735/0.1637, allocations: 468.5 kB / 0.5642 GB, free: 12.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.941e-05/0.1638, allocations: 63.39 kB / 0.5643 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1638, allocations: 0 / 0.5643 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1638, allocations: 4.109 kB / 0.5643 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/0.1643, allocations: 79.72 kB / 0.5644 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1643, allocations: 0 / 0.5644 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/0.1647, allocations: 63.91 kB / 0.5644 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.1647, allocations: 11.98 kB / 0.5645 GB, free: 12.31 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001527/0.1649, allocations: 140 kB / 0.5646 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.1649, allocations: 15.91 kB / 0.5646 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.1666, allocations: 419 kB / 0.565 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.1666, allocations: 7.938 kB / 0.565 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1666, allocations: 7.984 kB / 0.565 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1666, allocations: 0 / 0.565 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.1688, allocations: 0.7362 MB / 0.5657 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1688, allocations: 0 / 0.5657 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/0.1692, allocations: 75.78 kB / 0.5658 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1692, allocations: 0 / 0.5658 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1692, allocations: 0 / 0.5658 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.1692, allocations: 4 kB / 0.5658 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1692, allocations: 0 / 0.5658 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.1709, allocations: 487 kB / 0.5663 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.171, allocations: 100.9 kB / 0.5664 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.188e-05/0.1711, allocations: 4 kB / 0.5664 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004587/0.1715, allocations: 67.89 kB / 0.5664 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.1717, allocations: 47.94 kB / 0.5665 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.1717, allocations: 4 kB / 0.5665 GB, free: 10.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002015/0.1719, allocations: 184.5 kB / 0.5667 GB, free: 9.938 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1719, allocations: 0 / 0.5667 GB, free: 9.938 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003284/0.1722, allocations: 51.92 kB / 0.5667 GB, free: 9.887 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003506/0.1757, allocations: 1.324 MB / 0.568 GB, free: 8.699 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00178/0.1775, allocations: 482.3 kB / 0.5685 GB, free: 8.203 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1775, allocations: 0 / 0.5685 GB, free: 8.203 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008224/0.1783, allocations: 179.7 kB / 0.5686 GB, free: 8.027 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.1787, allocations: 36.62 kB / 0.5687 GB, free: 7.988 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007075/0.1858, allocations: 2.902 MB / 0.5715 GB, free: 4.984 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005377/0.1863, allocations: 0.7319 MB / 0.5722 GB, free: 4.227 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001506/0.1865, allocations: 29.41 kB / 0.5723 GB, free: 4.199 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.1866, allocations: 55.41 kB / 0.5723 GB, free: 4.145 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1866, allocations: 0 / 0.5723 GB, free: 4.145 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/0.2158, allocations: 5.871 MB / 0.578 GB, free: 14.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.351/8.567, allocations: 27.78 kB / 0.5781 GB, free: 14.32 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.00279441 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u1[1]),der(t_new.u2[1]),t_new.extrapolation,t_new.n,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.u1[1],t_new.u2[1],t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time,trapezoid1.amplitude,trapezoid1.falling,trapezoid1.nperiod,trapezoid1.offset,trapezoid1.period,trapezoid1.rising,trapezoid1.startTime,trapezoid1.width,trapezoid1.y,trapezoid2.amplitude,trapezoid2.falling,trapezoid2.nperiod,trapezoid2.offset,trapezoid2.period,trapezoid2.rising,trapezoid2.startTime,trapezoid2.width,trapezoid2.y [Calling sys.exit(0), Time elapsed: 11.795495254220441]