Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001299/0.001299, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001517/0.001517, allocations: 212 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 247.4 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2102/0.2102, allocations: 46.1 MB / 344.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 80.41 kB / 418.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1181, allocations: 62.44 MB / 480.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003736/0.1219, allocations: 1.646 MB / 482.3 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1229, allocations: 0.6802 MB / 483 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.429e-05/0.123, allocations: 0 / 483 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.1233, allocations: 31.84 kB / 483.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.1235, allocations: 43.83 kB / 483.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.235e-06/0.1236, allocations: 0 / 483.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.1237, allocations: 35.83 kB / 483.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.1238, allocations: 4 kB / 483.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.716e-05/0.1238, allocations: 11.94 kB / 483.1 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.542e-05/0.1239, allocations: 15.92 kB / 483.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.1239, allocations: 4 kB / 483.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.543e-05/0.124, allocations: 7.984 kB / 483.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.099e-05/0.124, allocations: 15.94 kB / 483.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.1241, allocations: 23.81 kB / 483.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.1242, allocations: 68.02 kB / 483.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.1243, allocations: 7.922 kB / 483.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1243, allocations: 0 / 483.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.1243, allocations: 4 kB / 483.3 MB, free: 2.652 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.0004096/0.1247, allocations: 363.3 kB / 483.6 MB, free: 2.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1247, allocations: 12.03 kB / 483.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.1248, allocations: 8.844 kB / 483.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.125, allocations: 172.2 kB / 483.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.125, allocations: 384 / 483.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.125, allocations: 4.375 kB / 483.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.1252, allocations: 130.4 kB / 484 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1252, allocations: 4.172 kB / 484 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.1252, allocations: 3.938 kB / 484 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.593e-05/0.1253, allocations: 27.92 kB / 484 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.119e-05/0.1254, allocations: 39.92 kB / 484 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006699/0.1261, allocations: 0.8867 MB / 484.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.641e-05/0.1261, allocations: 169.1 kB / 485.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.421e-05/0.1262, allocations: 88.14 kB / 485.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.1262, allocations: 79.22 kB / 485.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/0.1263, allocations: 109.9 kB / 485.4 MB, free: 384 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/0.1263, allocations: 7.938 kB / 485.4 MB, free: 376 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.633e-05/0.1264, allocations: 37.61 kB / 485.4 MB, free: 332 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/0.1265, allocations: 126.7 kB / 485.5 MB, free: 192 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.1267, allocations: 194 kB / 485.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.1267, allocations: 25.7 kB / 485.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.1268, allocations: 147.1 kB / 485.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.76e-06/0.1269, allocations: 3.984 kB / 485.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.559e-05/0.1269, allocations: 41.62 kB / 485.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1271, allocations: 322.8 kB / 486.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.876e-05/0.1271, allocations: 35.91 kB / 486.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.1273, allocations: 157 kB / 486.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.1275, allocations: 208.9 kB / 486.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1275, allocations: 0 / 486.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003211/0.1278, allocations: 201 kB / 486.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1278, allocations: 8 kB / 486.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1278, allocations: 4 kB / 486.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.1279, allocations: 8 kB / 486.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.128, allocations: 36.55 kB / 486.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.128, allocations: 7.984 kB / 486.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.895e-05/0.1281, allocations: 27.78 kB / 486.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.1281, allocations: 12 kB / 486.9 MB, free: 14.61 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.0001328/0.1283, allocations: 213 kB / 487.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.429e-05/0.1284, allocations: 124.6 kB / 487.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.247e-05/0.1284, allocations: 112.9 kB / 487.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.272e-05/0.1285, allocations: 184.2 kB / 487.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.858e-05/0.1286, allocations: 184.2 kB / 487.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.517e-05/0.1286, allocations: 176.3 kB / 487.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.1289, allocations: 425.1 kB / 488.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-05/0.1289, allocations: 104.9 kB / 488.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-05/0.129, allocations: 112.9 kB / 488.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.715e-05/0.1291, allocations: 180.3 kB / 488.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-05/0.1291, allocations: 180.3 kB / 488.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.077e-05/0.1292, allocations: 184.2 kB / 489.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.73e-05/0.1293, allocations: 184.2 kB / 489.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.1295, allocations: 311.7 kB / 489.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.965e-05/0.1296, allocations: 189.9 kB / 489.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.694e-05/0.1297, allocations: 184.2 kB / 489.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.799e-05/0.1298, allocations: 101 kB / 490 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.041e-05/0.1298, allocations: 188.2 kB / 490.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/0.1299, allocations: 101 kB / 490.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.833e-05/0.13, allocations: 127.2 kB / 490.4 MB, free: 10.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.13, allocations: 4 kB / 490.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002923/0.1303, allocations: 16 kB / 490.4 MB, free: 10.88 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.0004978/0.1308, allocations: 277.6 kB / 490.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.131, allocations: 72.91 kB / 490.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.131, allocations: 4.125 kB / 490.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.131, allocations: 0 / 490.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.1314, allocations: 473.5 kB / 491.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003649/0.1317, allocations: 274.9 kB / 491.5 MB, free: 9.805 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.132, allocations: 0.7006 MB / 492.2 MB, free: 9.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.1321, allocations: 15.44 kB / 492.2 MB, free: 9.062 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1321, allocations: 0 / 492.2 MB, free: 9.062 MB / 366.1 MB Notification: Performance of Templates: time 0.002882/0.135, allocations: 1.28 MB / 493.5 MB, free: 7.785 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches