Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 104 kB / 16.94 MB, free: 6.184 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.001439/0.001439, allocations: 191.4 kB / 17.86 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2073/0.2073, allocations: 43.51 MB / 314.6 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 72.28 kB / 383.4 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09271/0.09445, allocations: 57.79 MB / 441.2 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002567/0.09707, allocations: 1.605 MB / 442.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005006/0.09759, allocations: 355.4 kB / 443.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.329e-05/0.09766, allocations: 0 / 443.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003944/0.09806, allocations: 451.2 kB / 443.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.09832, allocations: 259.4 kB / 443.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.09864, allocations: 151.5 kB / 444 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.0988, allocations: 171.6 kB / 444.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.345e-05/0.0989, allocations: 15.94 kB / 444.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.176e-05/0.09898, allocations: 111.8 kB / 444.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.09914, allocations: 211.6 kB / 444.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.09916, allocations: 4 kB / 444.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.293e-05/0.09924, allocations: 39.91 kB / 444.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.232e-05/0.09932, allocations: 83.69 kB / 444.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.09938, allocations: 99 kB / 444.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.09958, allocations: 255 kB / 445 MB, free: 3.121 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.09959, allocations: 0 / 445 MB, free: 3.121 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.09959, allocations: 4 kB / 445 MB, free: 3.117 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.09961, allocations: 0 / 445 MB, free: 3.117 MB / 318.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.0005344/0.1001, allocations: 0.6336 MB / 445.6 MB, free: 2.434 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.1002, allocations: 11.89 kB / 445.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.1002, allocations: 44.38 kB / 445.6 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.1004, allocations: 296.1 kB / 445.9 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.1005, allocations: 4.375 kB / 445.9 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.1005, allocations: 8.312 kB / 445.9 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.1006, allocations: 73.78 kB / 446 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1007, allocations: 0 / 446 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1007, allocations: 0 / 446 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1007, allocations: 0 / 446 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.1008, allocations: 35.97 kB / 446.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.1012, allocations: 408.7 kB / 446.5 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.1013, allocations: 42.56 kB / 446.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.446e-05/0.1014, allocations: 24.94 kB / 446.5 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.1014, allocations: 11.91 kB / 446.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.1014, allocations: 34.56 kB / 446.6 MB, free: 1.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1015, allocations: 0 / 446.6 MB, free: 1.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.000722/0.1022, allocations: 303.8 kB / 446.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.1022, allocations: 55.48 kB / 446.9 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005297/0.1028, allocations: 0.8496 MB / 447.8 MB, free: 116 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.1028, allocations: 29.7 kB / 447.8 MB, free: 80 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.103, allocations: 216 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.103, allocations: 27.64 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.103, allocations: 21.72 kB / 448.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1032, allocations: 366.7 kB / 448.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.1033, allocations: 43.91 kB / 448.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.1034, allocations: 39.97 kB / 448.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.1037, allocations: 88.8 kB / 448.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1037, allocations: 0 / 448.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003091/0.104, allocations: 153.1 kB / 448.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.104, allocations: 4 kB / 448.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.104, allocations: 4 kB / 448.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.104, allocations: 0 / 448.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1042, allocations: 23.92 kB / 448.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1042, allocations: 0 / 448.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.633e-05/0.1043, allocations: 15.92 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.1043, allocations: 4 kB / 448.8 MB, free: 15.06 MB / 334.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 0.0001869/0.1045, allocations: 217.7 kB / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.1045, allocations: 39.53 kB / 449 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003995/0.1049, allocations: 177.4 kB / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.105, allocations: 4 kB / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.105, allocations: 3.938 kB / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.105, allocations: 3.938 kB / 449.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006462/0.1056, allocations: 0.5143 MB / 449.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1056, allocations: 0 / 449.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.806e-05/0.1057, allocations: 23.98 kB / 449.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1057, allocations: 0 / 449.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1058, allocations: 3.938 kB / 449.8 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1058, allocations: 0 / 449.8 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1058, allocations: 4 kB / 449.8 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.1061, allocations: 251 kB / 450 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/0.1062, allocations: 108.5 kB / 450.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.1062, allocations: 7.938 kB / 450.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.781e-05/0.1063, allocations: 7.984 kB / 450.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.1064, allocations: 11.98 kB / 450.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-06/0.1064, allocations: 0 / 450.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000587/0.107, allocations: 0.655 MB / 450.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.107, allocations: 0 / 450.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.1073, allocations: 24 kB / 450.8 MB, free: 12.91 MB / 334.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.0009299/0.1082, allocations: 398.2 kB / 451.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003128/0.1085, allocations: 99.84 kB / 451.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1086, allocations: 4 kB / 451.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.1087, allocations: 43.97 kB / 451.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.1091, allocations: 21.95 kB / 451.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.1102, allocations: 0.8557 MB / 452.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.1107, allocations: 0.8299 MB / 453.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.1107, allocations: 15.38 kB / 453.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1107, allocations: 0 / 453.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of Templates: time 0.006884/0.1176, allocations: 3.865 MB / 456.9 MB, free: 6.809 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches