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.001053/0.001053, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001062/0.001062, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2081/0.2081, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 79.88 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1072, allocations: 62.45 MB / 481.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003127/0.1104, allocations: 1.673 MB / 483.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009445/0.1113, allocations: 0.5688 MB / 483.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.1114, allocations: 0 / 483.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000501/0.1119, allocations: 447.2 kB / 484.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004759/0.1124, allocations: 303.2 kB / 484.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.1128, allocations: 135.1 kB / 484.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000262/0.1131, allocations: 171.6 kB / 484.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.1133, allocations: 24.22 kB / 484.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.1134, allocations: 111.7 kB / 484.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.1136, allocations: 219.5 kB / 485.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.1136, allocations: 4 kB / 485.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1138, allocations: 51.98 kB / 485.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.1139, allocations: 91.67 kB / 485.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.329e-05/0.114, allocations: 107 kB / 485.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.1143, allocations: 274.9 kB / 485.6 MB, free: 360 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1143, allocations: 4 kB / 485.6 MB, free: 356 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1143, allocations: 0 / 485.6 MB, free: 356 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.1143, allocations: 0 / 485.6 MB, free: 356 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.0006977/0.115, allocations: 0.6491 MB / 486.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.115, allocations: 12.03 kB / 486.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.816e-05/0.1151, allocations: 40.38 kB / 486.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.1154, allocations: 304.1 kB / 486.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-06/0.1154, allocations: 4.375 kB / 486.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.1154, allocations: 4.375 kB / 486.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1156, allocations: 77.67 kB / 486.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1156, allocations: 0 / 486.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.1156, allocations: 0 / 486.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1156, allocations: 0 / 486.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.1157, allocations: 39.91 kB / 486.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.1162, allocations: 412.5 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.1165, allocations: 58.55 kB / 487.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.943e-05/0.1165, allocations: 24.97 kB / 487.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.1166, allocations: 3.984 kB / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.1166, allocations: 38.56 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1166, allocations: 0 / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001403/0.118, allocations: 463.7 kB / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.1181, allocations: 59.34 kB / 487.8 MB, free: 14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007383/0.1188, allocations: 0.8535 MB / 488.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.1188, allocations: 33.7 kB / 488.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.119, allocations: 220 kB / 488.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.119, allocations: 35.45 kB / 488.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.1191, allocations: 21.72 kB / 488.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1192, allocations: 362.8 kB / 489.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.1193, allocations: 39.97 kB / 489.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.1194, allocations: 51.91 kB / 489.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.1197, allocations: 100.8 kB / 489.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1197, allocations: 0 / 489.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003191/0.12, allocations: 173 kB / 489.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.12, allocations: 4 kB / 489.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.12, allocations: 7.938 kB / 489.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1201, allocations: 0 / 489.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.1202, allocations: 31.91 kB / 489.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.1202, allocations: 7.984 kB / 489.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.264e-05/0.1203, allocations: 4 kB / 489.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.1203, allocations: 11.98 kB / 489.7 MB, free: 12.02 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.0001887/0.1205, allocations: 209.8 kB / 489.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/0.1206, allocations: 47.44 kB / 489.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004126/0.121, allocations: 202.3 kB / 490.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.121, allocations: 3.938 kB / 490.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.121, allocations: 3.984 kB / 490.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.121, allocations: 4 kB / 490.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000709/0.1217, allocations: 0.5701 MB / 490.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.1217, allocations: 7.984 kB / 490.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.917e-05/0.1218, allocations: 24.08 kB / 490.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.1219, allocations: 7.875 kB / 490.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1219, allocations: 4 kB / 490.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1219, allocations: 0 / 490.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1219, allocations: 0 / 490.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003836/0.1223, allocations: 292.6 kB / 491.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.489e-05/0.1224, allocations: 108.6 kB / 491.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.1224, allocations: 0 / 491.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.1226, allocations: 19.98 kB / 491.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.1226, allocations: 7.984 kB / 491.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.1226, allocations: 4 kB / 491.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005379/0.1232, allocations: 0.6511 MB / 491.8 MB, free: 9.754 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1232, allocations: 0 / 491.8 MB, free: 9.754 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000272/0.1235, allocations: 35.98 kB / 491.9 MB, free: 9.719 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.0009741/0.1244, allocations: 454.8 kB / 492.3 MB, free: 9.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003004/0.1247, allocations: 107.9 kB / 492.4 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1248, allocations: 4 kB / 492.4 MB, free: 9.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.1249, allocations: 55.89 kB / 492.5 MB, free: 9.266 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.1253, allocations: 37.45 kB / 492.5 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.1264, allocations: 0.8441 MB / 493.4 MB, free: 8.355 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.1268, allocations: 0.8338 MB / 494.2 MB, free: 7.496 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.774e-05/0.1269, allocations: 12.55 kB / 494.2 MB, free: 7.484 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.127, allocations: 19.42 kB / 494.2 MB, free: 7.465 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.127, allocations: 0 / 494.2 MB, free: 7.465 MB / 366.1 MB Notification: Performance of Templates: time 0.005018/0.132, allocations: 1.864 MB / 496.1 MB, free: 5.605 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 -s gbode -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