Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001063/0.001063, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001124/0.001124, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2065/0.2065, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 79.75 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1165, allocations: 62.45 MB / 481.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002782/0.1193, allocations: 1.647 MB / 483.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009309/0.1202, allocations: 0.5728 MB / 483.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.1203, allocations: 0 / 483.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004949/0.1208, allocations: 463.1 kB / 484.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003901/0.1212, allocations: 291.3 kB / 484.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/0.1216, allocations: 175 kB / 484.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.1218, allocations: 175.6 kB / 484.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.517e-05/0.1219, allocations: 16 kB / 484.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.1221, allocations: 115.7 kB / 484.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.1223, allocations: 215.6 kB / 485.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.1223, allocations: 8 kB / 485.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.906e-05/0.1224, allocations: 27.98 kB / 485.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.726e-05/0.1225, allocations: 83.69 kB / 485.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.482e-05/0.1225, allocations: 103 kB / 485.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.1228, allocations: 263 kB / 485.6 MB, free: 428 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1228, allocations: 7.922 kB / 485.6 MB, free: 420 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1228, allocations: 0 / 485.6 MB, free: 420 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1228, allocations: 0 / 485.6 MB, free: 420 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.0006371/0.1235, allocations: 0.6413 MB / 486.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.1235, allocations: 12.03 kB / 486.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.338e-05/0.1236, allocations: 44.38 kB / 486.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.1238, allocations: 296.1 kB / 486.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.1238, allocations: 4.375 kB / 486.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.1239, allocations: 384 / 486.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.124, allocations: 61.8 kB / 486.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.124, allocations: 0 / 486.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.124, allocations: 3.938 kB / 486.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1241, allocations: 0 / 486.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.333e-05/0.1242, allocations: 35.97 kB / 486.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.1246, allocations: 388.7 kB / 487.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.1248, allocations: 46.5 kB / 487.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.078e-05/0.1249, allocations: 20.94 kB / 487.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.1249, allocations: 0 / 487.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.1249, allocations: 38.55 kB / 487.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1249, allocations: 3.938 kB / 487.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005693/0.1255, allocations: 243.8 kB / 487.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.1255, allocations: 51.41 kB / 487.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007227/0.1263, allocations: 0.866 MB / 488.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.1263, allocations: 29.7 kB / 488.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.1264, allocations: 228.2 kB / 488.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.1265, allocations: 15.8 kB / 488.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.1265, allocations: 17.72 kB / 488.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1266, allocations: 362.7 kB / 489 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.797e-05/0.1267, allocations: 23.98 kB / 489 MB, free: 12.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.914e-05/0.1268, allocations: 19.98 kB / 489 MB, free: 12.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.1269, allocations: 52.83 kB / 489.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.1269, allocations: 4 kB / 489.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001953/0.1271, allocations: 133.2 kB / 489.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.1272, allocations: 4 kB / 489.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1272, allocations: 3.984 kB / 489.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1272, allocations: 0 / 489.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.199e-05/0.1273, allocations: 15.98 kB / 489.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1273, allocations: 0 / 489.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.655e-05/0.1273, allocations: 19.88 kB / 489.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1274, allocations: 0 / 489.2 MB, free: 12.54 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.000156/0.1275, allocations: 209.8 kB / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.1276, allocations: 43.44 kB / 489.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.1278, allocations: 149.1 kB / 489.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1279, allocations: 0 / 489.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1279, allocations: 0 / 489.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1279, allocations: 7.938 kB / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004837/0.1284, allocations: 458.5 kB / 490.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1284, allocations: 4 kB / 490.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.154e-05/0.1284, allocations: 15.92 kB / 490.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1284, allocations: 0 / 490.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1285, allocations: 7.938 kB / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1285, allocations: 0 / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1285, allocations: 4 kB / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.1287, allocations: 215 kB / 490.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-05/0.1288, allocations: 108.6 kB / 490.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.1288, allocations: 4.188 kB / 490.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.355e-05/0.1289, allocations: 11.98 kB / 490.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.1289, allocations: 4 kB / 490.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.129, allocations: 4 kB / 490.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005428/0.1295, allocations: 0.6589 MB / 491.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1295, allocations: 0 / 491.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.1298, allocations: 27.84 kB / 491.1 MB, free: 10.53 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.0008775/0.1307, allocations: 402 kB / 491.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.1309, allocations: 55.95 kB / 491.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1309, allocations: 0 / 491.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.468e-05/0.131, allocations: 27.98 kB / 491.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.1314, allocations: 33.8 kB / 491.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009923/0.1324, allocations: 0.7954 MB / 492.4 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.1328, allocations: 0.8299 MB / 493.3 MB, free: 8.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.828e-05/0.1329, allocations: 20.23 kB / 493.3 MB, free: 8.461 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.1329, allocations: 11.44 kB / 493.3 MB, free: 8.449 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1329, allocations: 0 / 493.3 MB, free: 8.449 MB / 366.1 MB Notification: Performance of Templates: time 0.004739/0.1376, allocations: 1.5 MB / 494.8 MB, free: 6.953 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches