Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001581, allocations: 108.2 kB / 18.39 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 182.9 kB / 19.32 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 243 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2247/0.2247, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 68.66 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09582/0.09692, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002368/0.09933, allocations: 1.572 MB / 472.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005897/0.09993, allocations: 423.1 kB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.679e-05/0.09998, allocations: 0 / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004147/0.1004, allocations: 447.1 kB / 473.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.1007, allocations: 251.4 kB / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.101, allocations: 126.8 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.1011, allocations: 155.7 kB / 473.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.523e-05/0.1012, allocations: 11.98 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.738e-05/0.1013, allocations: 111.7 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.1015, allocations: 207.6 kB / 474 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.1015, allocations: 4 kB / 474 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.261e-05/0.1016, allocations: 23.98 kB / 474 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.176e-05/0.1017, allocations: 83.69 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.145e-05/0.1017, allocations: 99 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.1019, allocations: 243 kB / 474.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1019, allocations: 3.984 kB / 474.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.102, allocations: 0 / 474.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.102, allocations: 0 / 474.4 MB, free: 9.895 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005562/0.1025, allocations: 0.6297 MB / 475 MB, free: 9.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.721e-05/0.1026, allocations: 8.031 kB / 475.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.1026, allocations: 44.38 kB / 475.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.1028, allocations: 288.2 kB / 475.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-06/0.1029, allocations: 384 / 475.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.1029, allocations: 4.375 kB / 475.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.103, allocations: 61.78 kB / 475.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.103, allocations: 4 kB / 475.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.103, allocations: 0 / 475.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.103, allocations: 0 / 475.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.1031, allocations: 31.97 kB / 475.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.1035, allocations: 376.7 kB / 475.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.307e-05/0.1036, allocations: 34.56 kB / 475.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.605e-05/0.1037, allocations: 28.94 kB / 475.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.1037, allocations: 0 / 475.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.1037, allocations: 34.56 kB / 475.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1037, allocations: 3.938 kB / 475.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002573/0.104, allocations: 117.1 kB / 476.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.104, allocations: 55.41 kB / 476.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006367/0.1047, allocations: 0.8573 MB / 477 MB, free: 7.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.1047, allocations: 25.7 kB / 477 MB, free: 7.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.1048, allocations: 216 kB / 477.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.1048, allocations: 7.906 kB / 477.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.1049, allocations: 17.7 kB / 477.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.105, allocations: 358.7 kB / 477.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.485e-05/0.105, allocations: 19.98 kB / 477.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.483e-05/0.1051, allocations: 15.98 kB / 477.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.327e-05/0.1052, allocations: 44.77 kB / 477.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1052, allocations: 0 / 477.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001506/0.1053, allocations: 93.2 kB / 477.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/0.1054, allocations: 8 kB / 477.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/0.1054, allocations: 0 / 477.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.67e-06/0.1054, allocations: 0 / 477.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.34e-05/0.1054, allocations: 15.98 kB / 477.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-06/0.1054, allocations: 0 / 477.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.598e-05/0.1055, allocations: 7.906 kB / 477.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.1055, allocations: 0 / 477.8 MB, free: 6.293 MB / 350.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 (3): * Single equations (assignments): 3 * 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.0001381/0.1057, allocations: 217.7 kB / 478 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.1057, allocations: 35.53 kB / 478 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.1059, allocations: 128.9 kB / 478.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.1059, allocations: 0 / 478.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1059, allocations: 0 / 478.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-06/0.1059, allocations: 384 / 478.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.1061, allocations: 285.5 kB / 478.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1061, allocations: 0 / 478.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.435e-05/0.1062, allocations: 11.98 kB / 478.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1062, allocations: 0 / 478.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-06/0.1062, allocations: 0 / 478.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1062, allocations: 4 kB / 478.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1062, allocations: 3.984 kB / 478.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.1064, allocations: 206.8 kB / 478.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.1065, allocations: 104.6 kB / 478.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.1065, allocations: 3.984 kB / 478.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.1066, allocations: 4 kB / 478.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.1066, allocations: 0 / 478.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.1066, allocations: 7.938 kB / 478.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004731/0.1071, allocations: 0.6511 MB / 479.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1071, allocations: 0 / 479.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002134/0.1073, allocations: 19.94 kB / 479.4 MB, free: 4.523 MB / 350.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 (3): * Single equations (assignments): 3 * 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.0006164/0.1079, allocations: 351.3 kB / 479.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.1081, allocations: 47.89 kB / 479.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.1081, allocations: 0 / 479.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.367e-05/0.1081, allocations: 19.92 kB / 479.9 MB, free: 4.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.1084, allocations: 21.62 kB / 479.9 MB, free: 4.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007441/0.1092, allocations: 0.7716 MB / 480.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.1095, allocations: 0.8143 MB / 481.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.479e-05/0.1095, allocations: 4 kB / 481.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/0.1096, allocations: 15.44 kB / 481.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1096, allocations: 0 / 481.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of Templates: time 0.2082/0.3178, allocations: 1.313 MB / 482.8 MB, free: 1.258 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches