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.0008703/0.0008703, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008994/0.0008994, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8872/0.8872, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2455/0.2455, allocations: 34.24 MB / 294.9 MB, free: 0.7031 MB / 266.7 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 1.783e-06/1.783e-06, allocations: 0 / 442.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.48e-05, allocations: 2.281 kB / 442.2 MB, free: 1.621 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.1681/0.1682, allocations: 1.815 MB / 444 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1693, allocations: 0.993 MB / 445 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.521e-05/0.1693, allocations: 6.781 kB / 445 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.1695, allocations: 65.28 kB / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.1698, allocations: 125.8 kB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.1701, allocations: 217.8 kB / 445.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.1703, allocations: 202.8 kB / 445.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.225e-05/0.1704, allocations: 19.25 kB / 445.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.1705, allocations: 109.1 kB / 445.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.433e-05/0.1706, allocations: 88.69 kB / 445.8 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.1706, allocations: 14.06 kB / 445.8 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.597e-05/0.1707, allocations: 43.52 kB / 445.9 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.1708, allocations: 43.95 kB / 445.9 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.1708, allocations: 54.45 kB / 446 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.171, allocations: 201.9 kB / 446.2 MB, free: 42.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.171, allocations: 0 / 446.2 MB, free: 42.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.171, allocations: 0 / 446.2 MB, free: 42.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.171, allocations: 2.75 kB / 446.2 MB, free: 42.83 MB / 410.7 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.0006334/0.1716, allocations: 0.5169 MB / 446.7 MB, free: 42.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1717, allocations: 8.75 kB / 446.7 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.337e-05/0.1717, allocations: 43.75 kB / 446.7 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.1717, allocations: 17.53 kB / 446.8 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.1719, allocations: 182 kB / 446.9 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.1719, allocations: 6.156 kB / 446.9 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.1719, allocations: 6.156 kB / 446.9 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.1722, allocations: 150.4 kB / 447.1 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1722, allocations: 4.906 kB / 447.1 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1722, allocations: 0 / 447.1 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.1722, allocations: 0 / 447.1 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000332/0.1726, allocations: 172.5 kB / 447.3 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.173, allocations: 380.3 kB / 447.6 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.1734, allocations: 194.5 kB / 447.8 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.1736, allocations: 86.16 kB / 447.9 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.1736, allocations: 6.594 kB / 447.9 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003095/0.1739, allocations: 170 kB / 448.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.1739, allocations: 0 / 448.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.00174/0.1756, allocations: 0.8394 MB / 448.9 MB, free: 41.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.1757, allocations: 62.2 kB / 449 MB, free: 41.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.1758, allocations: 255.1 kB / 449.2 MB, free: 41.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.1758, allocations: 36.58 kB / 449.3 MB, free: 41.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.1759, allocations: 124.3 kB / 449.4 MB, free: 41.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.1759, allocations: 40.84 kB / 449.4 MB, free: 41.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.1759, allocations: 44.27 kB / 449.5 MB, free: 41.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.289e-05/0.176, allocations: 334.9 kB / 449.8 MB, free: 40.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.1763, allocations: 231.1 kB / 450 MB, free: 40.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/0.1766, allocations: 223.4 kB / 450.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006077/0.1772, allocations: 385.3 kB / 450.6 MB, free: 40.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.1772, allocations: 0 / 450.6 MB, free: 40.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007182/0.178, allocations: 0.5148 MB / 451.1 MB, free: 40.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.178, allocations: 63.62 kB / 451.2 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.178, allocations: 0 / 451.2 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.178, allocations: 0 / 451.2 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.1782, allocations: 70.52 kB / 451.3 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1782, allocations: 2.938 kB / 451.3 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.1784, allocations: 69.72 kB / 451.3 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.1784, allocations: 6.172 kB / 451.3 MB, free: 40.24 MB / 410.7 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 6.94e-05/0.1785, allocations: 138.4 kB / 451.5 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.1785, allocations: 20.3 kB / 451.5 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000716/0.1792, allocations: 426.4 kB / 451.9 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1792, allocations: 2.781 kB / 451.9 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1792, allocations: 3.328 kB / 451.9 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1792, allocations: 2.062 kB / 451.9 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008136/0.18, allocations: 0.6737 MB / 452.6 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.18, allocations: 0 / 452.6 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.1802, allocations: 64.48 kB / 452.7 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1802, allocations: 2.844 kB / 452.7 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.1802, allocations: 4 kB / 452.7 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.1802, allocations: 11.47 kB / 452.7 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1802, allocations: 0 / 452.7 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006705/0.1809, allocations: 492.2 kB / 453.2 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.875e-05/0.1809, allocations: 25.22 kB / 453.2 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.1809, allocations: 2.906 kB / 453.2 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.1811, allocations: 68.3 kB / 453.3 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.637e-05/0.1812, allocations: 50.12 kB / 453.3 MB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.1812, allocations: 10.88 kB / 453.3 MB, free: 39.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.044e-05/0.1813, allocations: 189.2 kB / 453.5 MB, free: 39.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1813, allocations: 0 / 453.5 MB, free: 39.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001949/0.1815, allocations: 52.05 kB / 453.6 MB, free: 39.27 MB / 410.7 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.001342/0.1828, allocations: 1.351 MB / 454.9 MB, free: 38.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007576/0.1836, allocations: 0.5226 MB / 455.4 MB, free: 38.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1836, allocations: 0 / 455.4 MB, free: 38.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003378/0.1839, allocations: 184.3 kB / 455.6 MB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.1842, allocations: 39.88 kB / 455.6 MB, free: 38.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/0.1871, allocations: 3.127 MB / 458.8 MB, free: 36.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.992e-05/0.1871, allocations: 122 kB / 458.9 MB, free: 36.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.792e-05/0.1872, allocations: 31.52 kB / 458.9 MB, free: 36.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.373e-05/0.1873, allocations: 60.73 kB / 459 MB, free: 36.1 MB / 410.7 MB Notification: Performance of SimCode: time 6.82e-07/0.1873, allocations: 0 / 459 MB, free: 36.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.2026, allocations: 6.88 MB / 465.9 MB, free: 34.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.962/7.165, allocations: 7.156 kB / 465.9 MB, free: 34.46 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test33/Test33.csv","/var/lib/jenkins/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: 9.117392574436963]