Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 107.5 kB / 17.21 MB, free: 6.293 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.001342/0.001342, allocations: 194 kB / 18.12 MB, free: 5.383 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.439/1.439, allocations: 222.9 MB / 241.8 MB, free: 15.51 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.2224/0.2224, allocations: 44.18 MB / 336.1 MB, free: 3.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 65.16 kB / 407.7 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.131, allocations: 60.83 MB / 468.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.004427/0.1355, allocations: 1.672 MB / 470.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.1368, allocations: 0.6643 MB / 470.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.1368, allocations: 4 kB / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.1371, allocations: 23.97 kB / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.1374, allocations: 35.89 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.44e-06/0.1374, allocations: 7.938 kB / 470.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.1377, allocations: 55.81 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.396e-05/0.1377, allocations: 0 / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.204e-05/0.1378, allocations: 7.938 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.399e-05/0.1379, allocations: 27.91 kB / 471 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.1379, allocations: 4 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.109e-05/0.138, allocations: 7.984 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.173e-05/0.138, allocations: 12 kB / 471 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.1381, allocations: 27.8 kB / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.1383, allocations: 64.02 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.1383, allocations: 0 / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1383, allocations: 0 / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1383, allocations: 0 / 471.1 MB, free: 12.23 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.0004776/0.1388, allocations: 363.4 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1388, allocations: 8.031 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.1389, allocations: 12.84 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.1391, allocations: 176.2 kB / 471.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.1391, allocations: 4.375 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.1391, allocations: 4.359 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.1393, allocations: 126.1 kB / 471.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1394, allocations: 192 / 471.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.1394, allocations: 11.94 kB / 471.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.866e-05/0.1394, allocations: 27.92 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.429e-05/0.1395, allocations: 43.84 kB / 471.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007491/0.1403, allocations: 0.883 MB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.1404, allocations: 181.1 kB / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.297e-05/0.1405, allocations: 80.14 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.395e-05/0.1405, allocations: 79.22 kB / 473.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.109e-05/0.1406, allocations: 109.8 kB / 473.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 2.004e-06/0.1406, allocations: 0 / 473.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.927e-05/0.1407, allocations: 37.55 kB / 473.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.723e-05/0.1408, allocations: 126.7 kB / 473.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.141, allocations: 186.1 kB / 473.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.141, allocations: 25.7 kB / 473.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.344e-05/0.1411, allocations: 147.1 kB / 473.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.212e-06/0.1411, allocations: 8 kB / 473.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.952e-05/0.1412, allocations: 41.61 kB / 473.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1414, allocations: 318.8 kB / 474.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.921e-05/0.1414, allocations: 35.97 kB / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.1416, allocations: 153.1 kB / 474.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.1418, allocations: 200.9 kB / 474.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.1418, allocations: 7.938 kB / 474.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003333/0.1422, allocations: 201.5 kB / 474.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1422, allocations: 4 kB / 474.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.1422, allocations: 8 kB / 474.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.1423, allocations: 7.984 kB / 474.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.1424, allocations: 35.92 kB / 474.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.1424, allocations: 8 kB / 474.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.235e-05/0.1425, allocations: 27.69 kB / 474.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.1425, allocations: 11.98 kB / 474.8 MB, free: 8.203 MB / 350.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.0001473/0.1427, allocations: 222 kB / 475 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-05/0.1428, allocations: 116.8 kB / 475.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.233e-05/0.1428, allocations: 120.9 kB / 475.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.138e-05/0.1429, allocations: 176.3 kB / 475.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-05/0.143, allocations: 180.2 kB / 475.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.588e-05/0.1431, allocations: 180.3 kB / 475.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.1434, allocations: 433.1 kB / 476.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.96e-05/0.1434, allocations: 108.9 kB / 476.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.696e-05/0.1435, allocations: 101 kB / 476.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-05/0.1435, allocations: 180.2 kB / 476.6 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.801e-05/0.1436, allocations: 184.2 kB / 476.7 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.178e-05/0.1437, allocations: 184.2 kB / 476.9 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.839e-05/0.1438, allocations: 176.3 kB / 477.1 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.1439, allocations: 315.6 kB / 477.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.544e-05/0.144, allocations: 189.9 kB / 477.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.603e-05/0.1441, allocations: 184.2 kB / 477.8 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.3e-05/0.1442, allocations: 105 kB / 477.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-05/0.1443, allocations: 184.3 kB / 478 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.1443, allocations: 104.9 kB / 478.1 MB, free: 4.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.1445, allocations: 135.2 kB / 478.3 MB, free: 4.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1445, allocations: 0 / 478.3 MB, free: 4.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003288/0.1448, allocations: 16 kB / 478.3 MB, free: 4.461 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 (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.0004778/0.1453, allocations: 275.2 kB / 478.6 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.1454, allocations: 75.78 kB / 478.6 MB, free: 4.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1454, allocations: 0 / 478.6 MB, free: 4.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.1454, allocations: 1.25 kB / 478.6 MB, free: 4.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.1458, allocations: 0.5403 MB / 479.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.1462, allocations: 262.8 kB / 479.4 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.1465, allocations: 0.7048 MB / 480.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000206/0.1468, allocations: 45.02 kB / 480.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.1468, allocations: 19.44 kB / 480.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1468, allocations: 0 / 480.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of Templates: time 0.003071/0.1499, allocations: 0.6464 MB / 480.8 MB, free: 1.898 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches