Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009725/0.0009725, allocations: 93.88 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 171.8 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.3 MB / 242.3 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2577/0.2577, allocations: 44.25 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003582, allocations: 11.98 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1417, allocations: 61.93 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002073/0.1438, allocations: 1.29 MB / 473.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008033/0.1446, allocations: 391.4 kB / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.143e-05/0.1447, allocations: 4 kB / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003806/0.1451, allocations: 123.7 kB / 474.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.1453, allocations: 75.84 kB / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.1456, allocations: 79.83 kB / 474.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.1458, allocations: 79.81 kB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.1459, allocations: 20.17 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.925e-05/0.146, allocations: 43.77 kB / 474.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.1461, allocations: 71.86 kB / 474.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.1461, allocations: 0 / 474.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.889e-05/0.1462, allocations: 43.98 kB / 474.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.857e-05/0.1463, allocations: 31.84 kB / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.446e-05/0.1464, allocations: 61.31 kB / 474.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.1466, allocations: 104 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1466, allocations: 4 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1466, allocations: 0 / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1466, allocations: 0 / 474.7 MB, free: 10.93 MB / 350.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.0005175/0.1471, allocations: 421.1 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.1472, allocations: 8.031 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.1472, allocations: 16.75 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.1474, allocations: 207.9 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1475, allocations: 4.375 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.1475, allocations: 8.375 kB / 475.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1477, allocations: 57.61 kB / 475.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1477, allocations: 0 / 475.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1477, allocations: 0 / 475.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1477, allocations: 0 / 475.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.815e-05/0.1478, allocations: 31.92 kB / 475.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.1482, allocations: 308.7 kB / 475.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.1483, allocations: 50.55 kB / 475.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.1484, allocations: 16.86 kB / 475.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.612e-05/0.1484, allocations: 3.938 kB / 475.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.1485, allocations: 38.56 kB / 475.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.1485, allocations: 0 / 475.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000911/0.1494, allocations: 253.2 kB / 476.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.1495, allocations: 51.41 kB / 476.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.1497, allocations: 278.2 kB / 476.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.1498, allocations: 25.7 kB / 476.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.1498, allocations: 116.1 kB / 476.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.1499, allocations: 27.55 kB / 476.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.1499, allocations: 13.72 kB / 476.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1501, allocations: 326.8 kB / 476.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.754e-05/0.1501, allocations: 23.98 kB / 476.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.395e-05/0.1502, allocations: 39.97 kB / 476.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.1504, allocations: 69 kB / 477 MB, free: 8.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1504, allocations: 7.984 kB / 477 MB, free: 8.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002191/0.1506, allocations: 109.5 kB / 477.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1506, allocations: 4 kB / 477.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1507, allocations: 8 kB / 477.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1507, allocations: 0 / 477.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1508, allocations: 19.98 kB / 477.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.1508, allocations: 3.938 kB / 477.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.52e-05/0.1509, allocations: 12 kB / 477.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.1509, allocations: 7.984 kB / 477.2 MB, free: 8.188 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001113/0.151, allocations: 142.2 kB / 477.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.151, allocations: 7.906 kB / 477.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.1513, allocations: 127 kB / 477.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.1513, allocations: 3.984 kB / 477.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1513, allocations: 3.938 kB / 477.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1513, allocations: 0 / 477.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005235/0.1519, allocations: 419.3 kB / 477.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1519, allocations: 0 / 477.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.926e-05/0.152, allocations: 23.92 kB / 477.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.152, allocations: 0 / 477.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.152, allocations: 8 kB / 477.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.152, allocations: 3.938 kB / 477.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.152, allocations: 0 / 477.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.1523, allocations: 212.2 kB / 478.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.676e-05/0.1523, allocations: 92.86 kB / 478.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.1524, allocations: 0 / 478.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.682e-05/0.1525, allocations: 15.98 kB / 478.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.1525, allocations: 4 kB / 478.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.1525, allocations: 4 kB / 478.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.1527, allocations: 207.1 kB / 478.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1527, allocations: 0 / 478.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.153, allocations: 20 kB / 478.4 MB, free: 6.812 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001176/0.1541, allocations: 464.6 kB / 478.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002581/0.1544, allocations: 71.95 kB / 479 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1544, allocations: 0 / 479 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.1545, allocations: 43.92 kB / 479 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.155, allocations: 19.92 kB / 479 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005938/0.1556, allocations: 330.5 kB / 479.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.1559, allocations: 0.7199 MB / 480.1 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.374e-05/0.156, allocations: 12.67 kB / 480.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.156, allocations: 11.44 kB / 480.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.156, allocations: 0 / 480.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of Templates: time 0.004103/0.1602, allocations: 1.286 MB / 481.4 MB, free: 3.996 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches