Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001346/0.001346, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 227.4 MB / 247.5 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2054/0.2054, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 77.31 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1124, allocations: 62.44 MB / 481.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002861/0.1153, allocations: 1.669 MB / 483.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009429/0.1162, allocations: 0.5883 MB / 483.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.501e-05/0.1163, allocations: 0 / 483.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005249/0.1168, allocations: 467.1 kB / 484.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003954/0.1173, allocations: 279.3 kB / 484.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.1177, allocations: 191 kB / 484.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.1179, allocations: 179.6 kB / 484.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.118, allocations: 20.22 kB / 484.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.856e-05/0.1181, allocations: 115.7 kB / 484.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.1183, allocations: 215.6 kB / 485.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.1183, allocations: 4 kB / 485.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.164e-05/0.1184, allocations: 47.98 kB / 485.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.828e-05/0.1185, allocations: 87.67 kB / 485.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.434e-05/0.1186, allocations: 107 kB / 485.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.1189, allocations: 274.9 kB / 485.7 MB, free: 344 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1189, allocations: 0 / 485.7 MB, free: 344 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1189, allocations: 3.938 kB / 485.7 MB, free: 340 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1189, allocations: 0 / 485.7 MB, free: 340 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.0006269/0.1195, allocations: 0.6492 MB / 486.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.781e-05/0.1196, allocations: 8.031 kB / 486.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.1196, allocations: 48.31 kB / 486.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.1199, allocations: 300.1 kB / 486.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1199, allocations: 12.38 kB / 486.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.1199, allocations: 4.375 kB / 486.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.1201, allocations: 69.73 kB / 486.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1201, allocations: 0 / 486.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.1201, allocations: 0 / 486.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.1201, allocations: 0 / 486.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.914e-05/0.1202, allocations: 35.97 kB / 486.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/0.1207, allocations: 412.5 kB / 487.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.1208, allocations: 46.56 kB / 487.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.915e-05/0.1209, allocations: 24.92 kB / 487.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1209, allocations: 0 / 487.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.1209, allocations: 30.56 kB / 487.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.121, allocations: 0 / 487.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008776/0.1218, allocations: 319.8 kB / 487.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.1219, allocations: 59.33 kB / 487.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007316/0.1226, allocations: 0.8738 MB / 488.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.1226, allocations: 25.7 kB / 488.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.1228, allocations: 224.1 kB / 488.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.1228, allocations: 31.55 kB / 488.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.1229, allocations: 21.72 kB / 488.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.123, allocations: 358.8 kB / 489.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.844e-05/0.1231, allocations: 27.98 kB / 489.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.586e-05/0.1232, allocations: 40.03 kB / 489.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.1234, allocations: 76.81 kB / 489.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1234, allocations: 0 / 489.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002323/0.1236, allocations: 145.1 kB / 489.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1236, allocations: 4 kB / 489.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.1236, allocations: 0 / 489.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1236, allocations: 0 / 489.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.29e-05/0.1237, allocations: 19.98 kB / 489.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1238, allocations: 3.938 kB / 489.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.988e-05/0.1238, allocations: 8 kB / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1239, allocations: 0 / 489.5 MB, free: 12.27 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 (8): * Single equations (assignments): 8 * 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.0001714/0.124, allocations: 221.8 kB / 489.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.1241, allocations: 47.38 kB / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/0.1244, allocations: 177.4 kB / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1244, allocations: 0 / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1244, allocations: 7.938 kB / 489.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1244, allocations: 0 / 489.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005946/0.125, allocations: 0.5264 MB / 490.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1251, allocations: 3.938 kB / 490.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.563e-05/0.1251, allocations: 19.98 kB / 490.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1251, allocations: 0 / 490.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1251, allocations: 4 kB / 490.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1252, allocations: 32 / 490.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1252, allocations: 4 kB / 490.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.1254, allocations: 248.2 kB / 490.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.1255, allocations: 120.5 kB / 490.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.1255, allocations: 0 / 490.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.1256, allocations: 8 kB / 490.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.1257, allocations: 11.98 kB / 490.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.1257, allocations: 0 / 490.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005225/0.1262, allocations: 0.655 MB / 491.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1262, allocations: 0 / 491.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1265, allocations: 35.98 kB / 491.6 MB, free: 10.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009358/0.1274, allocations: 449 kB / 492 MB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.1276, allocations: 75.89 kB / 492.1 MB, free: 9.727 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1276, allocations: 0 / 492.1 MB, free: 9.727 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.921e-05/0.1277, allocations: 43.91 kB / 492.1 MB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.1281, allocations: 34.3 kB / 492.1 MB, free: 9.652 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009863/0.1291, allocations: 0.8236 MB / 493 MB, free: 8.797 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.1295, allocations: 0.8299 MB / 493.8 MB, free: 7.941 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.531e-05/0.1296, allocations: 24.72 kB / 493.8 MB, free: 7.918 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.1296, allocations: 15.44 kB / 493.8 MB, free: 7.902 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1296, allocations: 0 / 493.8 MB, free: 7.902 MB / 366.1 MB Notification: Performance of Templates: time 0.004875/0.1345, allocations: 1.77 MB / 495.6 MB, free: 6.137 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches