Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007499/0.0007499, allocations: 95.14 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.000916/0.0009161, allocations: 200.7 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.319/1.319, allocations: 227.7 MB / 247.5 MB, free: 9.496 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1923/0.1923, allocations: 46.18 MB / 345.9 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002589/0.0002589, allocations: 8 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09982/0.1001, allocations: 63.57 MB / 483.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.001893/0.102, allocations: 1.373 MB / 485.1 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009205/0.103, allocations: 0.5301 MB / 485.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.103, allocations: 7.938 kB / 485.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005131/0.1036, allocations: 451.2 kB / 486.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003755/0.104, allocations: 267.5 kB / 486.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.1043, allocations: 115.8 kB / 486.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.1045, allocations: 167.6 kB / 486.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.458e-05/0.1046, allocations: 16 kB / 486.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.1047, allocations: 103.8 kB / 486.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.105, allocations: 207.5 kB / 487 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.105, allocations: 0 / 487 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.011e-05/0.1051, allocations: 32 kB / 487 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.63e-05/0.1052, allocations: 83.62 kB / 487.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.384e-05/0.1053, allocations: 128.7 kB / 487.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.1055, allocations: 183.7 kB / 487.4 MB, free: 496 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1055, allocations: 0 / 487.4 MB, free: 496 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1055, allocations: 0 / 487.4 MB, free: 496 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1055, allocations: 3.938 kB / 487.4 MB, free: 492 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.0006309/0.1061, allocations: 0.5876 MB / 488 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1062, allocations: 8.875 kB / 488 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.742e-05/0.1062, allocations: 44.38 kB / 488 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.1065, allocations: 300.1 kB / 488.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.1065, allocations: 8.312 kB / 488.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.1066, allocations: 384 / 488.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.1067, allocations: 65.8 kB / 488.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1067, allocations: 0 / 488.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.1067, allocations: 0 / 488.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1067, allocations: 0 / 488.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.447e-05/0.1068, allocations: 31.98 kB / 488.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.1073, allocations: 392.6 kB / 488.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.1074, allocations: 46.56 kB / 488.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.126e-05/0.1075, allocations: 12.86 kB / 488.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.1075, allocations: 4 kB / 488.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.1076, allocations: 38.56 kB / 488.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1076, allocations: 0 / 488.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005954/0.1082, allocations: 252.1 kB / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.1082, allocations: 51.41 kB / 489.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007703/0.109, allocations: 0.8653 MB / 490.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.109, allocations: 25.7 kB / 490.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.1092, allocations: 220.1 kB / 490.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.1092, allocations: 15.8 kB / 490.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.1092, allocations: 17.72 kB / 490.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1094, allocations: 358.7 kB / 490.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.657e-05/0.1094, allocations: 23.98 kB / 490.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.487e-05/0.1095, allocations: 27.92 kB / 490.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.1097, allocations: 61.02 kB / 490.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1097, allocations: 3.938 kB / 490.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002258/0.1099, allocations: 121.1 kB / 490.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1099, allocations: 4 kB / 490.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1099, allocations: 8 kB / 490.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.1099, allocations: 0 / 490.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.552e-05/0.11, allocations: 19.92 kB / 490.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.11, allocations: 0 / 490.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.105e-05/0.1101, allocations: 19.8 kB / 491 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.1101, allocations: 0 / 491 MB, free: 12.66 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 (5): * Single equations (assignments): 5 * 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.0001694/0.1103, allocations: 209.8 kB / 491.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/0.1103, allocations: 47.44 kB / 491.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.1106, allocations: 141.1 kB / 491.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1106, allocations: 4 kB / 491.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1106, allocations: 0 / 491.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1107, allocations: 3.938 kB / 491.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.1112, allocations: 466.4 kB / 491.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1112, allocations: 3.984 kB / 491.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.599e-05/0.1112, allocations: 12 kB / 491.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1112, allocations: 0 / 491.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1113, allocations: 7.938 kB / 491.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1113, allocations: 0 / 491.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1113, allocations: 0 / 491.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.1115, allocations: 222.9 kB / 492.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.1116, allocations: 116.8 kB / 492.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.1116, allocations: 11.92 kB / 492.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.498e-05/0.1117, allocations: 8 kB / 492.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/0.1117, allocations: 4 kB / 492.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.1118, allocations: 3.984 kB / 492.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005686/0.1123, allocations: 0.655 MB / 492.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1123, allocations: 0 / 492.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1126, allocations: 16 kB / 492.9 MB, free: 10.65 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 (5): * Single equations (assignments): 5 * 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.0008609/0.1135, allocations: 399.8 kB / 493.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.1137, allocations: 51.97 kB / 493.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1137, allocations: 0 / 493.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.031e-05/0.1138, allocations: 35.92 kB / 493.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.1141, allocations: 30.23 kB / 493.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.1152, allocations: 0.9017 MB / 494.3 MB, free: 9.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.1156, allocations: 0.8223 MB / 495.1 MB, free: 8.488 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.1157, allocations: 19.44 kB / 495.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1157, allocations: 3.938 kB / 495.1 MB, free: 8.465 MB / 366.1 MB Notification: Performance of Templates: time 0.006675/0.1223, allocations: 3.636 MB / 498.8 MB, free: 4.82 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches