Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001562/0.001562, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001967/0.001967, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 246.9 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2059/0.2059, allocations: 46.12 MB / 344.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 77.03 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1022, allocations: 62.43 MB / 479.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003262/0.1055, allocations: 1.723 MB / 481.7 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.1073, allocations: 1.155 MB / 482.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.801e-05/0.1074, allocations: 0 / 482.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.1077, allocations: 19.94 kB / 482.8 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.108, allocations: 67.75 kB / 482.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.1084, allocations: 123.1 kB / 483 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.1085, allocations: 75.75 kB / 483.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1086, allocations: 12 kB / 483.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.408e-05/0.1087, allocations: 27.86 kB / 483.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.1089, allocations: 43.77 kB / 483.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.1089, allocations: 4 kB / 483.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.1091, allocations: 87.94 kB / 483.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.791e-05/0.1092, allocations: 15.92 kB / 483.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.531e-05/0.1092, allocations: 35.78 kB / 483.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.1095, allocations: 99.86 kB / 483.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1095, allocations: 0 / 483.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.1095, allocations: 0 / 483.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1095, allocations: 3.938 kB / 483.4 MB, free: 2.207 MB / 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.0006153/0.1101, allocations: 415.4 kB / 483.8 MB, free: 1.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1102, allocations: 8.875 kB / 483.8 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.1102, allocations: 8.844 kB / 483.8 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.1105, allocations: 184.3 kB / 484 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1105, allocations: 8.359 kB / 484 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.1105, allocations: 4.375 kB / 484 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.1107, allocations: 75.45 kB / 484.1 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1107, allocations: 8 kB / 484.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1107, allocations: 0 / 484.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1107, allocations: 0 / 484.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.1109, allocations: 39.95 kB / 484.1 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.1113, allocations: 296.7 kB / 484.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.1114, allocations: 46.5 kB / 484.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.037e-05/0.1115, allocations: 24.94 kB / 484.5 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.1115, allocations: 0 / 484.5 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1116, allocations: 34.56 kB / 484.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.1116, allocations: 0 / 484.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007928/0.1124, allocations: 209.2 kB / 484.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/0.1125, allocations: 77.11 kB / 484.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.1126, allocations: 152.2 kB / 485 MB, free: 460 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.1126, allocations: 25.7 kB / 485 MB, free: 428 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.1127, allocations: 96.12 kB / 485.1 MB, free: 328 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.1128, allocations: 31.72 kB / 485.1 MB, free: 296 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.1128, allocations: 21.7 kB / 485.1 MB, free: 268 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.113, allocations: 318.8 kB / 485.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.1131, allocations: 27.97 kB / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.1132, allocations: 53.62 kB / 485.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.1135, allocations: 85.05 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1135, allocations: 0 / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002753/0.1137, allocations: 109.5 kB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1138, allocations: 4 kB / 485.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1138, allocations: 0 / 485.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1138, allocations: 4 kB / 485.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.1139, allocations: 23.98 kB / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1139, allocations: 0 / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.927e-05/0.114, allocations: 15.92 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.114, allocations: 7.938 kB / 485.8 MB, free: 15.6 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 (7): * Single equations (assignments): 7 * 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 8.351e-05/0.1141, allocations: 117.8 kB / 485.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.1142, allocations: 7.906 kB / 485.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003303/0.1145, allocations: 130.3 kB / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1145, allocations: 0 / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1145, allocations: 0 / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1145, allocations: 3.938 kB / 486 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005354/0.1151, allocations: 394.5 kB / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1151, allocations: 0 / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.43e-05/0.1152, allocations: 15.98 kB / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1152, allocations: 4 kB / 486.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1152, allocations: 3.938 kB / 486.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1152, allocations: 0 / 486.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1152, allocations: 0 / 486.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.1155, allocations: 219.3 kB / 486.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.1156, allocations: 81.02 kB / 486.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.1156, allocations: 11.94 kB / 486.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.661e-05/0.1157, allocations: 7.984 kB / 486.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.1158, allocations: 12.2 kB / 486.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.1158, allocations: 0 / 486.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.642e-05/0.1159, allocations: 111.3 kB / 486.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1159, allocations: 4 kB / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002963/0.1162, allocations: 43.98 kB / 486.9 MB, free: 14.35 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 (7): * Single equations (assignments): 7 * 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.00111/0.1173, allocations: 0.4986 MB / 487.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002983/0.1176, allocations: 75.88 kB / 487.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1176, allocations: 4 kB / 487.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.1178, allocations: 39.97 kB / 487.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.1181, allocations: 25.64 kB / 487.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005089/0.1186, allocations: 225.7 kB / 487.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.1189, allocations: 0.6965 MB / 488.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.736e-05/0.119, allocations: 23.38 kB / 488.5 MB, free: 12.87 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.119, allocations: 4 kB / 488.5 MB, free: 12.87 MB / 366.1 MB Notification: Performance of Templates: time 0.004044/0.123, allocations: 2.076 MB / 490.6 MB, free: 10.79 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches