Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 94.62 kB / 17.35 MB, free: 6.344 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.001275/0.001275, allocations: 168.2 kB / 18.25 MB, free: 5.508 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.505/1.505, allocations: 223.3 MB / 242.3 MB, free: 220 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.2498/0.2498, allocations: 44.25 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003626, allocations: 11.98 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1444, allocations: 61.93 MB / 472.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002239/0.1467, allocations: 1.286 MB / 473.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008574/0.1476, allocations: 419.4 kB / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.813e-05/0.1477, allocations: 0 / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006122/0.1483, allocations: 451.2 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.1486, allocations: 247.5 kB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.149, allocations: 150.9 kB / 474.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.1493, allocations: 151.8 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1494, allocations: 15.94 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1495, allocations: 107.7 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.1497, allocations: 187.7 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1498, allocations: 4 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.864e-05/0.1498, allocations: 27.92 kB / 475.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.15, allocations: 87.69 kB / 475.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.463e-05/0.1501, allocations: 120.7 kB / 475.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.1504, allocations: 231 kB / 475.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1504, allocations: 0 / 475.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1504, allocations: 0 / 475.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.1504, allocations: 0 / 475.7 MB, free: 9.906 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006819/0.1511, allocations: 0.5874 MB / 476.3 MB, free: 9.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1511, allocations: 8.031 kB / 476.3 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.606e-05/0.1512, allocations: 40.47 kB / 476.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.1515, allocations: 300.1 kB / 476.6 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.1515, allocations: 384 / 476.6 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.1515, allocations: 384 / 476.6 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.1517, allocations: 65.8 kB / 476.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1517, allocations: 0 / 476.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1517, allocations: 0 / 476.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1518, allocations: 0 / 476.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.951e-05/0.1519, allocations: 39.91 kB / 476.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005688/0.1524, allocations: 384.7 kB / 477.1 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.801e-05/0.1525, allocations: 30.58 kB / 477.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.289e-05/0.1526, allocations: 20.91 kB / 477.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.1526, allocations: 0 / 477.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.1527, allocations: 30.56 kB / 477.2 MB, free: 8.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.1527, allocations: 3.938 kB / 477.2 MB, free: 8.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003008/0.153, allocations: 105.2 kB / 477.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.153, allocations: 59.53 kB / 477.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008792/0.1539, allocations: 0.8574 MB / 478.2 MB, free: 7.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1539, allocations: 25.7 kB / 478.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.1541, allocations: 224 kB / 478.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.1542, allocations: 3.906 kB / 478.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.1542, allocations: 9.719 kB / 478.5 MB, free: 6.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.1544, allocations: 366.7 kB / 478.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.989e-05/0.1544, allocations: 12 kB / 478.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.629e-05/0.1545, allocations: 15.98 kB / 478.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.305e-05/0.1546, allocations: 32.78 kB / 478.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1546, allocations: 0 / 478.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000157/0.1547, allocations: 101.2 kB / 479 MB, free: 6.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.1548, allocations: 10.33 kB / 479 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1548, allocations: 4 kB / 479 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1548, allocations: 0 / 479 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.038e-05/0.1549, allocations: 4 kB / 479 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1549, allocations: 0 / 479 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.1549, allocations: 4 kB / 479 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.1549, allocations: 0 / 479 MB, free: 6.375 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 (2): * Single equations (assignments): 2 * 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.0002011/0.1552, allocations: 217.7 kB / 479.2 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.349e-05/0.1552, allocations: 43.44 kB / 479.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.1554, allocations: 116.5 kB / 479.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1554, allocations: 0 / 479.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1555, allocations: 0 / 479.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1555, allocations: 3.938 kB / 479.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.1558, allocations: 281.5 kB / 479.6 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1558, allocations: 0 / 479.6 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.879e-05/0.1558, allocations: 16.02 kB / 479.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1558, allocations: 0 / 479.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.1558, allocations: 0 / 479.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1558, allocations: 0 / 479.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1558, allocations: 0 / 479.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.156, allocations: 198.9 kB / 479.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.455e-05/0.1561, allocations: 116.5 kB / 480 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.1562, allocations: 0 / 480 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.075e-05/0.1562, allocations: 4 kB / 480 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.1563, allocations: 3.984 kB / 480 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.1563, allocations: 4 kB / 480 MB, free: 5.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005981/0.1569, allocations: 0.6472 MB / 480.6 MB, free: 4.641 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1569, allocations: 3.938 kB / 480.6 MB, free: 4.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.1572, allocations: 20 kB / 480.6 MB, free: 4.617 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0008313/0.158, allocations: 350.7 kB / 481 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001458/0.1581, allocations: 31.98 kB / 481 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1582, allocations: 0 / 481 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.975e-05/0.1582, allocations: 19.92 kB / 481 MB, free: 4.344 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.1586, allocations: 20.62 kB / 481.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.1598, allocations: 0.8484 MB / 481.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.1602, allocations: 0.8224 MB / 482.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.687e-05/0.1602, allocations: 11.97 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.1603, allocations: 11.44 kB / 482.8 MB, free: 2.578 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1603, allocations: 3.938 kB / 482.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of Templates: time 0.004446/0.1647, allocations: 1.167 MB / 483.9 MB, free: 1.414 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches