Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001492/0.001492, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001994/0.001994, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2338/0.2338, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 79.39 kB / 417.6 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1506, allocations: 62.44 MB / 480 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002954/0.1536, allocations: 1.652 MB / 481.7 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007804/0.1544, allocations: 0.6802 MB / 482.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.639e-05/0.1545, allocations: 0 / 482.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.1547, allocations: 31.84 kB / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.155, allocations: 51.75 kB / 482.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.528e-06/0.155, allocations: 0 / 482.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.1551, allocations: 27.92 kB / 482.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.077e-05/0.1552, allocations: 7.984 kB / 482.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.405e-05/0.1552, allocations: 11.94 kB / 482.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.896e-05/0.1553, allocations: 11.92 kB / 482.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.1553, allocations: 4 kB / 482.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.66e-05/0.1553, allocations: 11.98 kB / 482.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.1554, allocations: 19.92 kB / 482.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.1554, allocations: 15.88 kB / 482.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.1555, allocations: 68.02 kB / 482.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1556, allocations: 4 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.1556, allocations: 0 / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1556, allocations: 3.938 kB / 482.6 MB, free: 2.715 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003692/0.156, allocations: 359.3 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.156, allocations: 12.03 kB / 483 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.156, allocations: 4.844 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.1562, allocations: 180.2 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-06/0.1562, allocations: 384 / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.1562, allocations: 8.359 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.1564, allocations: 125.7 kB / 483.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1564, allocations: 192 / 483.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.1564, allocations: 3.938 kB / 483.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.678e-05/0.1565, allocations: 19.98 kB / 483.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.18e-05/0.1565, allocations: 47.84 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/0.1572, allocations: 0.8945 MB / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.626e-05/0.1572, allocations: 169.1 kB / 484.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.89e-05/0.1573, allocations: 88.08 kB / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.1573, allocations: 79.22 kB / 484.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.1574, allocations: 105.8 kB / 484.7 MB, free: 448 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.103e-06/0.1574, allocations: 4 kB / 484.7 MB, free: 444 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.421e-05/0.1575, allocations: 41.64 kB / 484.7 MB, free: 396 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.1575, allocations: 130.7 kB / 484.9 MB, free: 252 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.1577, allocations: 190 kB / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.1577, allocations: 25.7 kB / 485.1 MB, free: 20 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.879e-05/0.1578, allocations: 147.1 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.941e-06/0.1579, allocations: 4 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.1579, allocations: 45.55 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.158, allocations: 322.8 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.812e-05/0.1581, allocations: 27.98 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.1582, allocations: 161 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.1584, allocations: 208.9 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1584, allocations: 0 / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002871/0.1587, allocations: 201.1 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1587, allocations: 8 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1587, allocations: 4 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.1588, allocations: 8 kB / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.1589, allocations: 39.92 kB / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.159, allocations: 8 kB / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.454e-05/0.159, allocations: 20.31 kB / 486.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.1591, allocations: 20 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001158/0.1592, allocations: 213 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.937e-05/0.1593, allocations: 120.7 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.246e-05/0.1593, allocations: 112.8 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001332/0.1595, allocations: 184.3 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001281/0.1596, allocations: 184.2 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-05/0.1597, allocations: 176.3 kB / 487.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.1599, allocations: 425.1 kB / 487.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.523e-05/0.1599, allocations: 104.9 kB / 487.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.58e-05/0.16, allocations: 105 kB / 487.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.176e-05/0.16, allocations: 184.2 kB / 488 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.1601, allocations: 180.3 kB / 488.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.822e-05/0.1602, allocations: 188.2 kB / 488.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.435e-05/0.1602, allocations: 180.3 kB / 488.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.1604, allocations: 307.7 kB / 488.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.1605, allocations: 197.9 kB / 489.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.897e-05/0.1606, allocations: 180.2 kB / 489.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.118e-05/0.1607, allocations: 101 kB / 489.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.107e-05/0.1607, allocations: 188.2 kB / 489.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.171e-05/0.1608, allocations: 104.9 kB / 489.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.753e-05/0.1609, allocations: 127.2 kB / 489.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1609, allocations: 4 kB / 489.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003126/0.1612, allocations: 12 kB / 489.8 MB, free: 10.95 MB / 366.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 (0): * Single equations (assignments): 0 * 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.0004901/0.1617, allocations: 279 kB / 490 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.1619, allocations: 72.72 kB / 490.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1619, allocations: 320 / 490.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.1619, allocations: 4 kB / 490.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.1623, allocations: 467.6 kB / 490.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.1626, allocations: 245.1 kB / 490.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.163, allocations: 0.7006 MB / 491.5 MB, free: 9.184 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002303/0.1632, allocations: 49.02 kB / 491.6 MB, free: 9.137 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.611e-05/0.1632, allocations: 15.44 kB / 491.6 MB, free: 9.121 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1632, allocations: 0 / 491.6 MB, free: 9.121 MB / 366.1 MB Notification: Performance of Templates: time 0.003239/0.1665, allocations: 0.6935 MB / 492.3 MB, free: 8.43 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches