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.001055/0.001055, allocations: 116.9 kB / 18.4 MB, free: 4.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001055/0.001055, allocations: 204.5 kB / 19.35 MB, free: 3.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1992/0.1992, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 79.88 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1121, allocations: 62.44 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002888/0.115, allocations: 1.656 MB / 483.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008529/0.1159, allocations: 0.5532 MB / 483.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.901e-05/0.116, allocations: 4 kB / 483.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005101/0.1165, allocations: 451.1 kB / 484.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004186/0.1169, allocations: 295.3 kB / 484.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.1172, allocations: 127.5 kB / 484.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.1175, allocations: 163.7 kB / 484.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1176, allocations: 23.98 kB / 484.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.1177, allocations: 111.7 kB / 484.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.1179, allocations: 207.6 kB / 485 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1179, allocations: 7.938 kB / 485 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.861e-05/0.118, allocations: 31.98 kB / 485.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.356e-05/0.1181, allocations: 83.69 kB / 485.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.427e-05/0.1182, allocations: 107 kB / 485.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.1185, allocations: 262.9 kB / 485.5 MB, free: 472 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.1185, allocations: 0 / 485.5 MB, free: 472 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1185, allocations: 0 / 485.5 MB, free: 472 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1185, allocations: 0 / 485.5 MB, free: 472 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.0006206/0.1191, allocations: 0.6375 MB / 486.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.1192, allocations: 12.03 kB / 486.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.1192, allocations: 36.47 kB / 486.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.1195, allocations: 300.1 kB / 486.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-06/0.1195, allocations: 384 / 486.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.1195, allocations: 8.375 kB / 486.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.1197, allocations: 57.75 kB / 486.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1197, allocations: 0 / 486.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1197, allocations: 3.984 kB / 486.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.1197, allocations: 0 / 486.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.562e-05/0.1198, allocations: 23.98 kB / 486.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.1202, allocations: 380.7 kB / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.1204, allocations: 54.5 kB / 487 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.1205, allocations: 20.92 kB / 487 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.1205, allocations: 4 kB / 487 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.1205, allocations: 30.56 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1205, allocations: 0 / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005356/0.1211, allocations: 231.9 kB / 487.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.1211, allocations: 51.41 kB / 487.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008036/0.1219, allocations: 0.8653 MB / 488.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.1219, allocations: 25.7 kB / 488.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.1221, allocations: 228 kB / 488.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.1221, allocations: 15.88 kB / 488.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.1222, allocations: 17.72 kB / 488.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1223, allocations: 374.7 kB / 488.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.305e-05/0.1224, allocations: 15.98 kB / 488.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.435e-05/0.1224, allocations: 20.17 kB / 488.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.1226, allocations: 56.77 kB / 488.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1226, allocations: 0 / 488.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001874/0.1228, allocations: 113.1 kB / 489 MB, free: 12.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1228, allocations: 8 kB / 489 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1228, allocations: 0 / 489 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1228, allocations: 0 / 489 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.754e-05/0.1229, allocations: 11.98 kB / 489.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1229, allocations: 3.938 kB / 489.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.569e-05/0.1229, allocations: 15.88 kB / 489.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.123, allocations: 4 kB / 489.1 MB, free: 12.64 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.000168/0.1231, allocations: 213.8 kB / 489.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.1232, allocations: 39.47 kB / 489.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.1234, allocations: 141.1 kB / 489.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1235, allocations: 0 / 489.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1235, allocations: 0 / 489.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.1235, allocations: 3.938 kB / 489.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004779/0.124, allocations: 458.3 kB / 489.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.124, allocations: 4 kB / 489.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.236e-05/0.124, allocations: 15.98 kB / 489.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.124, allocations: 0 / 489.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.547e-06/0.1241, allocations: 4.125 kB / 489.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1241, allocations: 4 kB / 489.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1241, allocations: 0 / 489.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.1243, allocations: 215 kB / 490.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.004e-05/0.1244, allocations: 112.5 kB / 490.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.1244, allocations: 3.938 kB / 490.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-05/0.1245, allocations: 4 kB / 490.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.1246, allocations: 7.922 kB / 490.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.1246, allocations: 4 kB / 490.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000541/0.1251, allocations: 0.6511 MB / 490.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1251, allocations: 0 / 490.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.1254, allocations: 27.98 kB / 491 MB, free: 10.66 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.0008956/0.1263, allocations: 398.8 kB / 491.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001868/0.1265, allocations: 43.97 kB / 491.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1265, allocations: 0 / 491.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.004e-05/0.1265, allocations: 27.92 kB / 491.4 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.1269, allocations: 36.19 kB / 491.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.1279, allocations: 0.7874 MB / 492.2 MB, free: 9.488 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.1283, allocations: 0.8221 MB / 493.1 MB, free: 8.641 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.746e-05/0.1284, allocations: 4 kB / 493.1 MB, free: 8.637 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.1284, allocations: 15.44 kB / 493.1 MB, free: 8.621 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1284, allocations: 3.938 kB / 493.1 MB, free: 8.617 MB / 366.1 MB Notification: Performance of Templates: time 0.004629/0.1331, allocations: 1.481 MB / 494.6 MB, free: 7.137 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 -s gbode -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