Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009617/0.0009617, allocations: 95.12 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001157/0.001157, allocations: 202.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.7 MB / 247.5 MB, free: 9.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1851/0.1851, allocations: 46.18 MB / 345.9 MB, free: 11.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000279/0.000279, allocations: 8 kB / 420.2 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1034, allocations: 63.55 MB / 483.7 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002006/0.1054, allocations: 1.388 MB / 485.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009794/0.1064, allocations: 0.5496 MB / 485.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.18e-05/0.1065, allocations: 4 kB / 485.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005136/0.107, allocations: 455.2 kB / 486.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004117/0.1074, allocations: 275.5 kB / 486.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.1078, allocations: 123.4 kB / 486.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.108, allocations: 171.6 kB / 486.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.204e-05/0.1081, allocations: 20.22 kB / 486.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.1083, allocations: 107.7 kB / 486.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.1085, allocations: 211.6 kB / 487 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1086, allocations: 0 / 487 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1087, allocations: 43.98 kB / 487 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.1088, allocations: 87.62 kB / 487.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.278e-05/0.1089, allocations: 128.7 kB / 487.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.1091, allocations: 199.7 kB / 487.5 MB, free: 376 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1091, allocations: 0 / 487.5 MB, free: 376 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1091, allocations: 0 / 487.5 MB, free: 376 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.1092, allocations: 0 / 487.5 MB, free: 376 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006987/0.1099, allocations: 0.611 MB / 488.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1099, allocations: 8.031 kB / 488.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.299e-05/0.11, allocations: 44.38 kB / 488.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.1102, allocations: 300.1 kB / 488.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1103, allocations: 4.375 kB / 488.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.1103, allocations: 384 / 488.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.1105, allocations: 73.8 kB / 488.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1105, allocations: 0 / 488.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1105, allocations: 7.938 kB / 488.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1105, allocations: 0 / 488.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.1107, allocations: 51.89 kB / 488.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.1111, allocations: 408.6 kB / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.1114, allocations: 62.58 kB / 489 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.443e-05/0.1115, allocations: 36.95 kB / 489 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.1115, allocations: 0 / 489 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.1115, allocations: 34.56 kB / 489.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1115, allocations: 0 / 489.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001601/0.1131, allocations: 0.5386 MB / 489.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.1132, allocations: 55.34 kB / 489.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008192/0.114, allocations: 0.8535 MB / 490.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.114, allocations: 33.7 kB / 490.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.1142, allocations: 223.9 kB / 490.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.1142, allocations: 35.45 kB / 490.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.1143, allocations: 13.72 kB / 490.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1144, allocations: 366.8 kB / 491.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.1146, allocations: 47.91 kB / 491.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.1147, allocations: 55.97 kB / 491.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.115, allocations: 117.1 kB / 491.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.115, allocations: 0 / 491.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000363/0.1154, allocations: 193 kB / 491.6 MB, free: 12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1154, allocations: 8 kB / 491.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1154, allocations: 0 / 491.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1154, allocations: 0 / 491.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1156, allocations: 36.42 kB / 491.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.1156, allocations: 0 / 491.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.132e-05/0.1157, allocations: 23.89 kB / 491.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.1157, allocations: 4 kB / 491.7 MB, free: 11.93 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 (11): * Single equations (assignments): 11 * 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.0001894/0.1159, allocations: 217.8 kB / 491.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.886e-05/0.1159, allocations: 35.53 kB / 491.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/0.1164, allocations: 229.2 kB / 492.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.1164, allocations: 3.938 kB / 492.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1164, allocations: 4 kB / 492.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1164, allocations: 3.984 kB / 492.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007873/0.1172, allocations: 0.582 MB / 492.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.1172, allocations: 4 kB / 492.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.1174, allocations: 35.91 kB / 492.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1174, allocations: 0 / 492.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.1174, allocations: 0 / 492.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1174, allocations: 4 kB / 492.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1174, allocations: 0 / 492.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.1178, allocations: 312.5 kB / 493.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-05/0.1179, allocations: 112.5 kB / 493.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.118, allocations: 3.984 kB / 493.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.1181, allocations: 16 kB / 493.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.1181, allocations: 7.984 kB / 493.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.1181, allocations: 4 kB / 493.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005789/0.1187, allocations: 0.655 MB / 493.9 MB, free: 9.605 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1187, allocations: 4 kB / 493.9 MB, free: 9.602 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.119, allocations: 28 kB / 493.9 MB, free: 9.574 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00102/0.12, allocations: 456.5 kB / 494.3 MB, free: 9.285 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003566/0.1204, allocations: 127.8 kB / 494.5 MB, free: 9.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1204, allocations: 4 kB / 494.5 MB, free: 9.156 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.1206, allocations: 67.91 kB / 494.5 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.121, allocations: 29.89 kB / 494.6 MB, free: 9.059 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.1223, allocations: 0.9816 MB / 495.5 MB, free: 8.039 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.1227, allocations: 0.8302 MB / 496.4 MB, free: 7.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.67e-05/0.1228, allocations: 27.42 kB / 496.4 MB, free: 7.152 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1228, allocations: 0 / 496.4 MB, free: 7.152 MB / 366.1 MB Notification: Performance of Templates: time 0.007338/0.1302, allocations: 4.016 MB / 0.4887 GB, free: 3.133 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches