Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 101.6 kB / 18.01 MB, free: 5.73 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.00128/0.00128, allocations: 176.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.441/1.441, allocations: 223.3 MB / 243 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.1955/0.1955, allocations: 44.23 MB / 338.3 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003102, allocations: 12 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.104, allocations: 61.92 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.001952/0.106, allocations: 1.298 MB / 474.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000782/0.1068, allocations: 415.3 kB / 474.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.584e-05/0.1069, allocations: 4 kB / 474.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005459/0.1075, allocations: 451.2 kB / 475.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.1078, allocations: 243.5 kB / 475.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.1082, allocations: 150.5 kB / 475.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.1084, allocations: 155.7 kB / 475.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1086, allocations: 12 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.1087, allocations: 99.72 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.1089, allocations: 203.6 kB / 475.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.109, allocations: 0 / 475.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.833e-05/0.109, allocations: 23.98 kB / 475.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.577e-05/0.1091, allocations: 79.69 kB / 476 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.76e-05/0.1092, allocations: 124.7 kB / 476.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.1094, allocations: 171.8 kB / 476.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1095, allocations: 0 / 476.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1095, allocations: 3.938 kB / 476.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.1095, allocations: 0 / 476.3 MB, free: 9.918 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.0006245/0.1101, allocations: 0.5821 MB / 476.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1101, allocations: 8.031 kB / 476.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.206e-05/0.1102, allocations: 44.45 kB / 476.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.1105, allocations: 288.2 kB / 477.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.1105, allocations: 8.359 kB / 477.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.1105, allocations: 4.375 kB / 477.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.1107, allocations: 57.73 kB / 477.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.1107, allocations: 0 / 477.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1107, allocations: 3.938 kB / 477.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1107, allocations: 8 kB / 477.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.845e-05/0.1108, allocations: 35.92 kB / 477.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/0.1113, allocations: 380.7 kB / 477.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.686e-05/0.1114, allocations: 38.56 kB / 477.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.112e-05/0.1115, allocations: 16.91 kB / 477.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.1115, allocations: 7.984 kB / 477.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.1115, allocations: 38.5 kB / 477.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.1115, allocations: 0 / 477.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002667/0.1118, allocations: 105.2 kB / 477.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.1119, allocations: 51.41 kB / 478 MB, free: 8.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007855/0.1127, allocations: 0.8574 MB / 478.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.1127, allocations: 29.69 kB / 478.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.1128, allocations: 220.1 kB / 479.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.1129, allocations: 3.906 kB / 479.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.1129, allocations: 9.719 kB / 479.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.113, allocations: 366.9 kB / 479.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.764e-05/0.1131, allocations: 11.98 kB / 479.4 MB, free: 6.562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.746e-05/0.1131, allocations: 15.92 kB / 479.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.281e-05/0.1132, allocations: 32.84 kB / 479.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1132, allocations: 4 kB / 479.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001531/0.1134, allocations: 97.19 kB / 479.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1134, allocations: 4 kB / 479.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1134, allocations: 0 / 479.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1134, allocations: 0 / 479.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.987e-05/0.1135, allocations: 11.98 kB / 479.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.1135, allocations: 0 / 479.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.1136, allocations: 0 / 479.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.1136, allocations: 8.031 kB / 479.6 MB, free: 6.383 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.0001759/0.1138, allocations: 217.6 kB / 479.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.608e-05/0.1138, allocations: 39.44 kB / 479.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.1141, allocations: 112.6 kB / 480 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1141, allocations: 0 / 480 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.1141, allocations: 0 / 480 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1141, allocations: 3.938 kB / 480 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.1144, allocations: 289.5 kB / 480.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1144, allocations: 0 / 480.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.74e-05/0.1144, allocations: 8 kB / 480.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1144, allocations: 0 / 480.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.1144, allocations: 3.984 kB / 480.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1144, allocations: 4 kB / 480.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1144, allocations: 0 / 480.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.1146, allocations: 194.9 kB / 480.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.407e-05/0.1147, allocations: 124.5 kB / 480.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.1148, allocations: 0 / 480.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.068e-05/0.1149, allocations: 0 / 480.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.1149, allocations: 4 kB / 480.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.1149, allocations: 0 / 480.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005818/0.1155, allocations: 0.6511 MB / 481.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1155, allocations: 4.031 kB / 481.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.1157, allocations: 20 kB / 481.3 MB, free: 4.625 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.0007978/0.1165, allocations: 351.3 kB / 481.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001363/0.1167, allocations: 31.98 kB / 481.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.1167, allocations: 0 / 481.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.896e-05/0.1168, allocations: 15.94 kB / 481.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.1171, allocations: 29.02 kB / 481.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.1182, allocations: 0.8778 MB / 482.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.1187, allocations: 0.8145 MB / 483.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.145e-05/0.1187, allocations: 15.44 kB / 483.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1187, allocations: 0 / 483.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of Templates: time 0.008524/0.1273, allocations: 3.379 MB / 486.8 MB, free: 15.18 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches