Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001181/0.001181, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.376/1.376, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2087/0.2087, allocations: 44.17 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 60.81 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1075, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002848/0.1104, allocations: 1.571 MB / 471.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007533/0.1111, allocations: 435.1 kB / 471.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.121e-05/0.1112, allocations: 0 / 471.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005128/0.1117, allocations: 451.2 kB / 472.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003406/0.1121, allocations: 251.5 kB / 472.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.1125, allocations: 170.6 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.1127, allocations: 151.8 kB / 472.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1128, allocations: 11.98 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.1129, allocations: 111.7 kB / 473 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.1132, allocations: 207.7 kB / 473.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.1132, allocations: 0 / 473.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.1133, allocations: 23.98 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.132e-05/0.1134, allocations: 83.69 kB / 473.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.382e-05/0.1135, allocations: 95 kB / 473.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.1137, allocations: 239 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1137, allocations: 4 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1137, allocations: 0 / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1137, allocations: 0 / 473.7 MB, free: 10.61 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.000628/0.1144, allocations: 0.6327 MB / 474.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.1144, allocations: 8.031 kB / 474.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.736e-05/0.1145, allocations: 44.38 kB / 474.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.1147, allocations: 288.2 kB / 474.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.1148, allocations: 4.375 kB / 474.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.1148, allocations: 4.312 kB / 474.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.1149, allocations: 61.73 kB / 474.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.1149, allocations: 0 / 474.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.115, allocations: 4 kB / 474.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.115, allocations: 0 / 474.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.714e-05/0.1151, allocations: 23.98 kB / 474.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.1155, allocations: 380.7 kB / 475.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.214e-05/0.1156, allocations: 34.5 kB / 475.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.1157, allocations: 24.91 kB / 475.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.1157, allocations: 3.984 kB / 475.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.1157, allocations: 30.56 kB / 475.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1157, allocations: 0 / 475.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002546/0.116, allocations: 105.1 kB / 475.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.116, allocations: 51.41 kB / 475.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007611/0.1168, allocations: 0.8576 MB / 476.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.1168, allocations: 29.64 kB / 476.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.117, allocations: 220.1 kB / 476.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.117, allocations: 15.89 kB / 476.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-05/0.117, allocations: 9.719 kB / 476.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1172, allocations: 362.7 kB / 476.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.96e-05/0.1172, allocations: 15.98 kB / 476.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.348e-05/0.1173, allocations: 4 kB / 476.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.704e-05/0.1174, allocations: 36.89 kB / 476.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1174, allocations: 0 / 476.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001468/0.1175, allocations: 89.22 kB / 477 MB, free: 7.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1175, allocations: 4 kB / 477 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1176, allocations: 4 kB / 477 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1176, allocations: 0 / 477 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.408e-05/0.1176, allocations: 7.984 kB / 477 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1177, allocations: 7.969 kB / 477 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.1177, allocations: 0 / 477 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1177, allocations: 8 kB / 477 MB, free: 7.043 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 (2): * Single equations (assignments): 2 * 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.0001612/0.1179, allocations: 209.7 kB / 477.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.1179, allocations: 43.42 kB / 477.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/0.1181, allocations: 108.6 kB / 477.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1182, allocations: 0 / 477.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1182, allocations: 4.031 kB / 477.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.1182, allocations: 0 / 477.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.1184, allocations: 285.5 kB / 477.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1184, allocations: 0 / 477.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.408e-05/0.1185, allocations: 4 kB / 477.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1185, allocations: 0 / 477.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.1185, allocations: 3.938 kB / 477.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1185, allocations: 0 / 477.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1185, allocations: 7.922 kB / 477.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.1187, allocations: 194.9 kB / 477.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.328e-05/0.1188, allocations: 108.6 kB / 478 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.1188, allocations: 0 / 478 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.1189, allocations: 7.984 kB / 478 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.1189, allocations: 0 / 478 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.1189, allocations: 0 / 478 MB, free: 5.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005792/0.1195, allocations: 0.6511 MB / 478.6 MB, free: 5.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1195, allocations: 0 / 478.6 MB, free: 5.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1198, allocations: 28.02 kB / 478.6 MB, free: 5.305 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 (2): * Single equations (assignments): 2 * 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.0008115/0.1206, allocations: 347.1 kB / 479 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.1208, allocations: 31.92 kB / 479 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1208, allocations: 0 / 479 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.613e-05/0.1208, allocations: 11.98 kB / 479 MB, free: 5.047 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.1212, allocations: 25.95 kB / 479.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009481/0.1222, allocations: 0.804 MB / 479.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.1225, allocations: 0.822 MB / 480.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.1226, allocations: 15.44 kB / 480.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1226, allocations: 0 / 480.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of Templates: time 0.006398/0.129, allocations: 3.464 MB / 484.2 MB, free: 15.86 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches