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.0008587/0.0008588, allocations: 96.23 kB / 18.01 MB, free: 5.734 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.001216/0.001217, allocations: 178.2 kB / 18.91 MB, free: 4.871 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.391/1.391, allocations: 223.3 MB / 242.9 MB, free: 14.38 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.1913/0.1913, allocations: 44.25 MB / 338.3 MB, free: 2.434 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.0003261, allocations: 8.875 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09723/0.09758, allocations: 61.93 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.001948/0.09956, allocations: 1.286 MB / 474.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007721/0.1004, allocations: 423.4 kB / 474.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.1004, allocations: 0 / 474.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005459/0.101, allocations: 451.2 kB / 475.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.1013, allocations: 239.6 kB / 475.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.1017, allocations: 152.7 kB / 475.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.102, allocations: 155.7 kB / 475.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.598e-05/0.1021, allocations: 15.98 kB / 475.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.1022, allocations: 107.7 kB / 475.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.1024, allocations: 191.6 kB / 475.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1025, allocations: 0 / 475.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.521e-05/0.1025, allocations: 24 kB / 475.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1027, allocations: 83.69 kB / 476 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.663e-05/0.1028, allocations: 124.7 kB / 476.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.103, allocations: 171.8 kB / 476.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.103, allocations: 4 kB / 476.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.103, allocations: 3.938 kB / 476.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.103, allocations: 0 / 476.3 MB, free: 9.934 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.0006186/0.1036, allocations: 0.5797 MB / 476.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1037, allocations: 16.03 kB / 476.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.743e-05/0.1037, allocations: 36.47 kB / 476.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.104, allocations: 296.1 kB / 477.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.104, allocations: 4.375 kB / 477.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.104, allocations: 384 / 477.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.1042, allocations: 57.75 kB / 477.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.1042, allocations: 0 / 477.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1042, allocations: 0 / 477.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1042, allocations: 0 / 477.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.796e-05/0.1043, allocations: 39.91 kB / 477.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.1048, allocations: 384.7 kB / 477.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.473e-05/0.1049, allocations: 34.56 kB / 477.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.236e-05/0.105, allocations: 24.91 kB / 477.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.105, allocations: 0 / 477.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.105, allocations: 34.5 kB / 477.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.105, allocations: 0 / 477.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002769/0.1053, allocations: 101.3 kB / 477.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.1053, allocations: 55.41 kB / 477.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008081/0.1062, allocations: 0.8613 MB / 478.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.1062, allocations: 29.7 kB / 478.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.1063, allocations: 216.1 kB / 479 MB, free: 6.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.1064, allocations: 3.906 kB / 479.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.1064, allocations: 9.719 kB / 479.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1065, allocations: 366.7 kB / 479.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.686e-05/0.1066, allocations: 12 kB / 479.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.745e-05/0.1067, allocations: 15.98 kB / 479.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.447e-05/0.1068, allocations: 36.78 kB / 479.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1068, allocations: 0 / 479.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001583/0.1069, allocations: 97.19 kB / 479.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1069, allocations: 7.984 kB / 479.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.107, allocations: 0 / 479.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.107, allocations: 4 kB / 479.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.249e-05/0.107, allocations: 4 kB / 479.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1071, allocations: 0 / 479.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.644e-05/0.1071, allocations: 4 kB / 479.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.1071, allocations: 0 / 479.6 MB, free: 6.414 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.0001767/0.1073, allocations: 221.7 kB / 479.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.1074, allocations: 39.44 kB / 479.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.1076, allocations: 116.5 kB / 480 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1076, allocations: 3.938 kB / 480 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1076, allocations: 4 kB / 480 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1076, allocations: 3.938 kB / 480 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.1079, allocations: 285.5 kB / 480.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1079, allocations: 4.031 kB / 480.3 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.674e-05/0.1079, allocations: 7.984 kB / 480.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1079, allocations: 4 kB / 480.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.1079, allocations: 0 / 480.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1079, allocations: 0 / 480.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1079, allocations: 0 / 480.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.1081, allocations: 194.9 kB / 480.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.232e-05/0.1082, allocations: 120.5 kB / 480.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.1082, allocations: 0 / 480.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.26e-05/0.1083, allocations: 4 kB / 480.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.1084, allocations: 3.984 kB / 480.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.1084, allocations: 0 / 480.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005679/0.1089, allocations: 0.6472 MB / 481.2 MB, free: 4.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1089, allocations: 0 / 481.2 MB, free: 4.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1092, allocations: 20 kB / 481.3 MB, free: 4.652 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.0007692/0.11, allocations: 343.6 kB / 481.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.1101, allocations: 31.98 kB / 481.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1101, allocations: 0 / 481.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.224e-05/0.1102, allocations: 19.92 kB / 481.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.1105, allocations: 25.91 kB / 481.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.1116, allocations: 0.8699 MB / 482.5 MB, free: 3.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.112, allocations: 0.8224 MB / 483.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.112, allocations: 11.44 kB / 483.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.112, allocations: 0 / 483.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of Templates: time 0.006409/0.1184, allocations: 3.393 MB / 486.8 MB, free: 15.2 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