Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 107.7 kB / 17.21 MB, free: 6.285 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.001007/0.001007, allocations: 194 kB / 18.12 MB, free: 5.379 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.392/1.392, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2298/0.2298, allocations: 44.16 MB / 336.1 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 67.33 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.145, allocations: 60.83 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.003259/0.1483, allocations: 1.618 MB / 470.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.1499, allocations: 1.008 MB / 471.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.526e-05/0.15, allocations: 0 / 471.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.1502, allocations: 11.94 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.1504, allocations: 35.84 kB / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.1507, allocations: 102.7 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.1508, allocations: 55.84 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.151, allocations: 15.98 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.151e-05/0.151, allocations: 23.86 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.1512, allocations: 23.86 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1512, allocations: 0 / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1513, allocations: 55.95 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.1514, allocations: 11.94 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.1515, allocations: 15.88 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.1517, allocations: 83.77 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1517, allocations: 0 / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1517, allocations: 4 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1517, allocations: 0 / 471.6 MB, free: 11.75 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.0005648/0.1523, allocations: 383.5 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.1523, allocations: 8.031 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.1524, allocations: 12.84 kB / 472 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.1526, allocations: 188.2 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-06/0.1526, allocations: 384 / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.1527, allocations: 384 / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.1528, allocations: 71.52 kB / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1529, allocations: 0 / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.1529, allocations: 0 / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.1529, allocations: 0 / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.847e-05/0.153, allocations: 31.86 kB / 472.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.1534, allocations: 276.9 kB / 472.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.1536, allocations: 42.55 kB / 472.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.887e-05/0.1537, allocations: 16.86 kB / 472.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.1537, allocations: 4 kB / 472.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.1538, allocations: 38.59 kB / 472.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1538, allocations: 0 / 472.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005824/0.1544, allocations: 153.2 kB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.1544, allocations: 85.05 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.1546, allocations: 137.2 kB / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.1546, allocations: 29.7 kB / 473 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.1547, allocations: 96.12 kB / 473.1 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.1547, allocations: 15.75 kB / 473.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.1548, allocations: 17.72 kB / 473.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1549, allocations: 322.8 kB / 473.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.297e-05/0.155, allocations: 19.98 kB / 473.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.92e-05/0.1551, allocations: 37.7 kB / 473.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.1552, allocations: 48.83 kB / 473.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1552, allocations: 3.984 kB / 473.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000186/0.1554, allocations: 89.52 kB / 473.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1554, allocations: 4 kB / 473.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1554, allocations: 0 / 473.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1555, allocations: 0 / 473.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.512e-05/0.1555, allocations: 20.02 kB / 473.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.1555, allocations: 0 / 473.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.882e-05/0.1556, allocations: 4 kB / 473.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.1556, allocations: 0 / 473.7 MB, free: 9.398 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 (5): * Single equations (assignments): 5 * 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.0001848/0.1558, allocations: 122.3 kB / 473.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.1558, allocations: 7.906 kB / 473.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.1561, allocations: 93.84 kB / 473.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1561, allocations: 8 kB / 473.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1561, allocations: 0 / 473.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1561, allocations: 3.984 kB / 473.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.1566, allocations: 354.8 kB / 474.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.1566, allocations: 4.062 kB / 474.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.107e-05/0.1566, allocations: 11.94 kB / 474.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.1566, allocations: 0 / 474.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.1567, allocations: 3.938 kB / 474.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1567, allocations: 7.938 kB / 474.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1567, allocations: 4 kB / 474.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.1569, allocations: 179.4 kB / 474.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.157, allocations: 81.11 kB / 474.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.157, allocations: 3.984 kB / 474.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.906e-05/0.1571, allocations: 7.938 kB / 474.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.1571, allocations: 4 kB / 474.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.1571, allocations: 7.984 kB / 474.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.751e-05/0.1572, allocations: 99.27 kB / 474.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1572, allocations: 0 / 474.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003825/0.1576, allocations: 27.91 kB / 474.7 MB, free: 8.281 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 (5): * Single equations (assignments): 5 * 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.00106/0.1587, allocations: 446.5 kB / 475.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.1589, allocations: 59.89 kB / 475.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1589, allocations: 0 / 475.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.79e-05/0.159, allocations: 23.98 kB / 475.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.1593, allocations: 18.48 kB / 475.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/0.1597, allocations: 179.2 kB / 475.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.16, allocations: 0.6887 MB / 476.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.907e-05/0.1601, allocations: 15.97 kB / 476.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.1601, allocations: 27.42 kB / 476.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1601, allocations: 0 / 476.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of Templates: time 0.004043/0.1642, allocations: 1.308 MB / 477.5 MB, free: 5.648 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches