Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_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.001242/0.001242, allocations: 97.91 kB / 16.93 MB, free: 5.805 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.001456/0.001456, allocations: 187.3 kB / 17.86 MB, free: 5.18 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.435/1.435, allocations: 205.1 MB / 223.7 MB, free: 12.31 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.2101/0.2101, allocations: 43.51 MB / 314.6 MB, free: 0.5312 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.001754/0.001755, allocations: 69.17 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1025, allocations: 57.79 MB / 441.2 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002969/0.1055, allocations: 1.56 MB / 442.7 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005482/0.1061, allocations: 331.6 kB / 443.1 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.139e-05/0.1062, allocations: 0 / 443.1 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004596/0.1067, allocations: 451.1 kB / 443.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002903/0.107, allocations: 259.4 kB / 443.8 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.1074, allocations: 139.5 kB / 443.9 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.1076, allocations: 159.7 kB / 444.1 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1077, allocations: 20.27 kB / 444.1 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.177e-05/0.1078, allocations: 107.7 kB / 444.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.108, allocations: 207.7 kB / 444.4 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.108, allocations: 0 / 444.4 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.547e-05/0.1081, allocations: 20 kB / 444.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.822e-05/0.1082, allocations: 83.67 kB / 444.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8e-05/0.1082, allocations: 102.9 kB / 444.6 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.1085, allocations: 239 kB / 444.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1085, allocations: 0 / 444.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1085, allocations: 0 / 444.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.1085, allocations: 4 kB / 444.8 MB, free: 3.266 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005461/0.109, allocations: 0.6219 MB / 445.4 MB, free: 2.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1091, allocations: 11.89 kB / 445.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.1091, allocations: 44.47 kB / 445.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.1093, allocations: 292.1 kB / 445.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1094, allocations: 4.375 kB / 445.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.1094, allocations: 4.375 kB / 445.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.1095, allocations: 57.73 kB / 445.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.1095, allocations: 0 / 445.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1096, allocations: 0 / 445.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1096, allocations: 4 kB / 445.9 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.026e-05/0.1096, allocations: 27.98 kB / 445.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.11, allocations: 380.7 kB / 446.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.643e-05/0.1101, allocations: 38.5 kB / 446.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.309e-05/0.1102, allocations: 16.91 kB / 446.3 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1102, allocations: 8 kB / 446.3 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.1102, allocations: 30.56 kB / 446.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.103e-06/0.1102, allocations: 0 / 446.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002473/0.1105, allocations: 93.2 kB / 446.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.1105, allocations: 55.41 kB / 446.5 MB, free: 1.414 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005683/0.1111, allocations: 0.8613 MB / 447.4 MB, free: 0.543 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.1111, allocations: 33.77 kB / 447.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.1112, allocations: 220.1 kB / 447.6 MB, free: 292 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.1112, allocations: 3.906 kB / 447.6 MB, free: 288 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.1113, allocations: 13.72 kB / 447.6 MB, free: 268 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1114, allocations: 362.7 kB / 448 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.684e-05/0.1115, allocations: 11.98 kB / 448 MB, free: 15.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.875e-05/0.1115, allocations: 11.98 kB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.415e-05/0.1116, allocations: 32.91 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1116, allocations: 0 / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001529/0.1118, allocations: 89.12 kB / 448.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1118, allocations: 4 kB / 448.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1118, allocations: 3.984 kB / 448.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1118, allocations: 0 / 448.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.897e-05/0.1119, allocations: 19.92 kB / 448.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.1119, allocations: 0 / 448.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.112, allocations: 7.969 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.112, allocations: 0 / 448.1 MB, free: 15.71 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 (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.0001769/0.1122, allocations: 221.6 kB / 448.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.1122, allocations: 43.44 kB / 448.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.1124, allocations: 100.6 kB / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1124, allocations: 0 / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1124, allocations: 0 / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1124, allocations: 0 / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.1127, allocations: 293.5 kB / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1127, allocations: 0 / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.861e-05/0.1128, allocations: 4 kB / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1128, allocations: 7.922 kB / 448.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.1128, allocations: 3.984 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1128, allocations: 0 / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1128, allocations: 0 / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.113, allocations: 187 kB / 449 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.249e-05/0.1131, allocations: 112.5 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.1131, allocations: 3.984 kB / 449.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.1132, allocations: 7.938 kB / 449.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.1132, allocations: 0 / 449.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1132, allocations: 0 / 449.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005977/0.1138, allocations: 0.6511 MB / 449.8 MB, free: 14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1139, allocations: 0 / 449.8 MB, free: 14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.1141, allocations: 19.98 kB / 449.8 MB, free: 13.98 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 (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.0007982/0.1149, allocations: 344.9 kB / 450.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001627/0.1151, allocations: 31.91 kB / 450.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1151, allocations: 4.062 kB / 450.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.594e-05/0.1152, allocations: 12 kB / 450.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.1156, allocations: 25.95 kB / 450.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.1166, allocations: 0.8002 MB / 451 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.117, allocations: 0.8182 MB / 451.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.1171, allocations: 11.44 kB / 451.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1171, allocations: 4 kB / 451.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of Templates: time 0.006948/0.124, allocations: 3.465 MB / 455.3 MB, free: 8.484 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches