Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007295/0.0007294, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008179/0.000818, allocations: 207.4 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.7 MB / 247.5 MB, free: 9.492 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1945/0.1945, allocations: 46.18 MB / 345.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.0003221, allocations: 11.98 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1073, allocations: 63.56 MB / 483.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.001947/0.1093, allocations: 1.373 MB / 485.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009036/0.1102, allocations: 0.5496 MB / 485.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/0.1103, allocations: 0 / 485.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005052/0.1108, allocations: 443.2 kB / 486.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003578/0.1111, allocations: 283.4 kB / 486.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.1114, allocations: 119.5 kB / 486.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.1116, allocations: 167.6 kB / 486.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.427e-05/0.1117, allocations: 12 kB / 486.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.1119, allocations: 107.8 kB / 486.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.1121, allocations: 211.5 kB / 487 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.1121, allocations: 4 kB / 487 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.407e-05/0.1122, allocations: 31.98 kB / 487 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.1123, allocations: 83.69 kB / 487.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.144e-05/0.1124, allocations: 124.7 kB / 487.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.1126, allocations: 187.7 kB / 487.4 MB, free: 460 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1126, allocations: 4 kB / 487.4 MB, free: 456 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1126, allocations: 3.938 kB / 487.4 MB, free: 452 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1126, allocations: 4 kB / 487.4 MB, free: 448 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006277/0.1133, allocations: 0.5915 MB / 488 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1133, allocations: 12.88 kB / 488 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.708e-05/0.1134, allocations: 44.36 kB / 488.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.1136, allocations: 300.1 kB / 488.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.1137, allocations: 4.375 kB / 488.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.1137, allocations: 4.375 kB / 488.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.1138, allocations: 69.78 kB / 488.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1139, allocations: 0 / 488.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1139, allocations: 0 / 488.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1139, allocations: 3.938 kB / 488.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.114, allocations: 47.97 kB / 488.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.1145, allocations: 396.6 kB / 488.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.1146, allocations: 46.56 kB / 488.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.317e-05/0.1147, allocations: 36.81 kB / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.1147, allocations: 0 / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.1147, allocations: 34.56 kB / 489 MB, free: 14.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1147, allocations: 0 / 489 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008464/0.1156, allocations: 328 kB / 489.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.1157, allocations: 55.39 kB / 489.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007795/0.1164, allocations: 0.8575 MB / 490.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.1165, allocations: 25.7 kB / 490.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.1166, allocations: 224 kB / 490.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.1167, allocations: 19.66 kB / 490.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.1167, allocations: 13.72 kB / 490.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1169, allocations: 370.7 kB / 490.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.117, allocations: 35.97 kB / 490.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.1171, allocations: 43.97 kB / 490.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.1173, allocations: 92.88 kB / 491 MB, free: 12.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1173, allocations: 0 / 491 MB, free: 12.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003057/0.1177, allocations: 161.2 kB / 491.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1177, allocations: 4 kB / 491.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1177, allocations: 4 kB / 491.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1177, allocations: 3.984 kB / 491.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1178, allocations: 23.97 kB / 491.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1179, allocations: 4 kB / 491.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.109e-05/0.1179, allocations: 19.94 kB / 491.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.118, allocations: 3.984 kB / 491.2 MB, free: 12.38 MB / 366.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 (7): * Single equations (assignments): 7 * 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.0001842/0.1181, allocations: 209.8 kB / 491.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.1182, allocations: 47.38 kB / 491.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003828/0.1186, allocations: 185.4 kB / 491.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1186, allocations: 0 / 491.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1186, allocations: 0 / 491.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.1186, allocations: 3.938 kB / 491.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006409/0.1193, allocations: 0.5105 MB / 492.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1193, allocations: 3.938 kB / 492.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.941e-05/0.1194, allocations: 27.98 kB / 492.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1194, allocations: 0 / 492.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.1194, allocations: 3.938 kB / 492.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1194, allocations: 3.938 kB / 492.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.1194, allocations: 4 kB / 492.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003506/0.1198, allocations: 263.1 kB / 492.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.671e-05/0.1199, allocations: 108.5 kB / 492.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.1199, allocations: 7.938 kB / 492.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.12, allocations: 19.98 kB / 492.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.12, allocations: 3.984 kB / 492.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.1201, allocations: 4 kB / 492.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005899/0.1207, allocations: 0.655 MB / 493.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1207, allocations: 0 / 493.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.1209, allocations: 20 kB / 493.3 MB, free: 10.21 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 (7): * Single equations (assignments): 7 * 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.0008771/0.1218, allocations: 390.7 kB / 493.7 MB, free: 9.957 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002834/0.1221, allocations: 91.94 kB / 493.8 MB, free: 9.867 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1221, allocations: 4 kB / 493.8 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.1222, allocations: 51.91 kB / 493.8 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.1226, allocations: 29.89 kB / 493.8 MB, free: 9.781 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.1238, allocations: 0.9408 MB / 494.8 MB, free: 8.809 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.1242, allocations: 0.8262 MB / 495.6 MB, free: 7.953 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.1242, allocations: 15.44 kB / 495.6 MB, free: 7.938 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1242, allocations: 0 / 495.6 MB, free: 7.938 MB / 366.1 MB Notification: Performance of Templates: time 0.006543/0.1308, allocations: 3.749 MB / 499.4 MB, free: 4.18 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches