Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001865/0.001865, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002385/0.002385, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.876/1.876, allocations: 227.4 MB / 246.9 MB, free: 10.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2119/0.2119, allocations: 46.11 MB / 344.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 72.67 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1032, allocations: 62.44 MB / 479.9 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.003019/0.1062, allocations: 1.735 MB / 481.7 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009513/0.1072, allocations: 0.5494 MB / 482.2 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.067e-05/0.1073, allocations: 4 kB / 482.2 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.1075, allocations: 47.86 kB / 482.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.1078, allocations: 71.75 kB / 482.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.1081, allocations: 131.6 kB / 482.5 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.1082, allocations: 79.77 kB / 482.5 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.507e-05/0.1084, allocations: 20.22 kB / 482.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.677e-05/0.1084, allocations: 31.84 kB / 482.6 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.877e-05/0.1085, allocations: 43.83 kB / 482.6 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.1085, allocations: 4 kB / 482.6 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1086, allocations: 47.92 kB / 482.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.185e-05/0.1087, allocations: 19.92 kB / 482.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.1088, allocations: 35.73 kB / 482.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.1089, allocations: 71.89 kB / 482.8 MB, free: 2.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1089, allocations: 3.938 kB / 482.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1089, allocations: 4 kB / 482.8 MB, free: 2.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.1089, allocations: 0 / 482.8 MB, free: 2.797 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004814/0.1094, allocations: 407.3 kB / 483.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1095, allocations: 8.031 kB / 483.2 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.1095, allocations: 12.84 kB / 483.2 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.1097, allocations: 204.6 kB / 483.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1097, allocations: 4.375 kB / 483.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.1097, allocations: 7.938 kB / 483.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.1099, allocations: 61.67 kB / 483.5 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1099, allocations: 4 kB / 483.5 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.11, allocations: 0 / 483.5 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.11, allocations: 3.938 kB / 483.5 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.1101, allocations: 51.89 kB / 483.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.1105, allocations: 304.7 kB / 483.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.1107, allocations: 54.59 kB / 483.9 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.563e-05/0.1108, allocations: 28.97 kB / 483.9 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.1109, allocations: 3.984 kB / 484 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.1109, allocations: 30.56 kB / 484 MB, free: 1.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1109, allocations: 4 kB / 484 MB, free: 1.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001404/0.1123, allocations: 396.8 kB / 484.4 MB, free: 1.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.1124, allocations: 55.41 kB / 484.4 MB, free: 1.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.1125, allocations: 173.9 kB / 484.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.1125, allocations: 29.7 kB / 484.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.1126, allocations: 104 kB / 484.7 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.1126, allocations: 27.56 kB / 484.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.1127, allocations: 29.7 kB / 484.8 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1128, allocations: 322.8 kB / 485.1 MB, free: 312 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.1129, allocations: 51.91 kB / 485.2 MB, free: 260 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.1131, allocations: 43.91 kB / 485.2 MB, free: 216 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.1133, allocations: 100.8 kB / 485.3 MB, free: 112 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1133, allocations: 0 / 485.3 MB, free: 112 kB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003115/0.1136, allocations: 141.5 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1137, allocations: 4 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-06/0.1137, allocations: 7.922 kB / 485.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.1137, allocations: 0 / 485.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.1138, allocations: 40.41 kB / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1138, allocations: 3.938 kB / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.252e-05/0.1139, allocations: 11.98 kB / 485.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.1139, allocations: 8 kB / 485.5 MB, free: 15.89 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 8.539e-05/0.114, allocations: 117.8 kB / 485.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.1141, allocations: 11.91 kB / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003782/0.1145, allocations: 166.2 kB / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1145, allocations: 0 / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1145, allocations: 4 kB / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1145, allocations: 4 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006223/0.1151, allocations: 467.9 kB / 486.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1151, allocations: 4 kB / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.1152, allocations: 35.98 kB / 486.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1153, allocations: 0 / 486.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.1153, allocations: 7.984 kB / 486.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1153, allocations: 0 / 486.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1153, allocations: 3.938 kB / 486.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.1157, allocations: 257.5 kB / 486.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.1157, allocations: 88.91 kB / 486.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.1157, allocations: 4 kB / 486.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/0.1158, allocations: 7.984 kB / 486.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.1159, allocations: 12 kB / 486.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.1159, allocations: 3.984 kB / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.116, allocations: 131.2 kB / 486.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.116, allocations: 4 kB / 486.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.1163, allocations: 20 kB / 486.8 MB, free: 14.45 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.0009952/0.1173, allocations: 458.6 kB / 487.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003125/0.1176, allocations: 107.9 kB / 487.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1176, allocations: 0 / 487.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.1178, allocations: 59.91 kB / 487.4 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.1181, allocations: 19.98 kB / 487.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000566/0.1187, allocations: 331.5 kB / 487.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.119, allocations: 0.7083 MB / 488.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.844e-05/0.1191, allocations: 19.42 kB / 488.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1191, allocations: 192 / 488.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of Templates: time 0.003568/0.1226, allocations: 1.893 MB / 490.4 MB, free: 10.96 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches