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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0008655/0.0008658, allocations: 183 kB / 18.09 MB, free: 3.629 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 223.3 MB / 242.1 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007254/0.0007252, allocations: 97.64 kB / 293.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3024/0.3024, allocations: 44.15 MB / 388.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003868, allocations: 12 kB / 461.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2846, allocations: 61.88 MB / 0.5107 GB, free: 38.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09646/0.3811, allocations: 88.81 MB / 0.5975 GB, free: 6.258 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.3814, allocations: 83.94 kB / 0.5975 GB, free: 6.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01636/0.3978, allocations: 8.009 MB / 0.6054 GB, free: 14.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3978, allocations: 0 / 0.6054 GB, free: 14.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.898e-05/0.3978, allocations: 8 kB / 0.6054 GB, free: 14.14 MB / 426.7 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.0006505/0.3985, allocations: 0.622 MB / 0.606 GB, free: 13.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.3985, allocations: 8.031 kB / 0.606 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.416e-05/0.3986, allocations: 44.38 kB / 0.606 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.3991, allocations: 344.2 kB / 0.6064 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3991, allocations: 4.375 kB / 0.6064 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.3991, allocations: 4.375 kB / 0.6064 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.3992, allocations: 57.95 kB / 0.6064 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3993, allocations: 192 / 0.6064 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.3993, allocations: 11.92 kB / 0.6064 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3993, allocations: 0 / 0.6064 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.793e-05/0.3994, allocations: 31.92 kB / 0.6065 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005843/0.4, allocations: 436.8 kB / 0.6069 GB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.876e-05/0.4001, allocations: 38.5 kB / 0.6069 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.5e-05/0.4002, allocations: 20.92 kB / 0.6069 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.4002, allocations: 3.938 kB / 0.6069 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.4002, allocations: 30.56 kB / 0.607 GB, free: 12.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.083e-06/0.4002, allocations: 4 kB / 0.607 GB, free: 12.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002652/0.4005, allocations: 109.1 kB / 0.6071 GB, free: 12.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.4005, allocations: 55.34 kB / 0.6071 GB, free: 12.15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.4017, allocations: 0.8573 MB / 0.608 GB, free: 11.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.4018, allocations: 25.7 kB / 0.608 GB, free: 11.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.4019, allocations: 220.2 kB / 0.6082 GB, free: 11.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.402, allocations: 7.906 kB / 0.6082 GB, free: 11.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.402, allocations: 0 / 0.6082 GB, free: 11.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4021, allocations: 362.8 kB / 0.6086 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.596e-05/0.4022, allocations: 8 kB / 0.6086 GB, free: 10.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.894e-05/0.4022, allocations: 19.92 kB / 0.6086 GB, free: 10.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.346e-05/0.4023, allocations: 36.84 kB / 0.6086 GB, free: 10.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4023, allocations: 0 / 0.6086 GB, free: 10.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001648/0.4025, allocations: 93.22 kB / 0.6087 GB, free: 10.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.4025, allocations: 4 kB / 0.6087 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4025, allocations: 0 / 0.6087 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.4026, allocations: 3.984 kB / 0.6087 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.797e-05/0.4026, allocations: 8.031 kB / 0.6087 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.4026, allocations: 0 / 0.6087 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.74e-05/0.4027, allocations: 7.906 kB / 0.6087 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.4027, allocations: 4 kB / 0.6087 GB, free: 10.47 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001938/0.4029, allocations: 221.6 kB / 0.6089 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/0.403, allocations: 35.53 kB / 0.609 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.4032, allocations: 112.3 kB / 0.6091 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4032, allocations: 0 / 0.6091 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.4033, allocations: 4 kB / 0.6091 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.4033, allocations: 3.984 kB / 0.6091 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/0.4036, allocations: 325.4 kB / 0.6094 GB, free: 9.719 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4036, allocations: 0 / 0.6094 GB, free: 9.719 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.4037, allocations: 8 kB / 0.6094 GB, free: 9.711 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.4037, allocations: 0 / 0.6094 GB, free: 9.711 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.4037, allocations: 0 / 0.6094 GB, free: 9.711 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4037, allocations: 3.938 kB / 0.6094 GB, free: 9.707 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4037, allocations: 4.031 kB / 0.6094 GB, free: 9.703 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.4039, allocations: 202.8 kB / 0.6096 GB, free: 9.488 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.4042, allocations: 160.5 kB / 0.6098 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/0.4042, allocations: 0 / 0.6098 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.067e-05/0.4043, allocations: 4 kB / 0.6098 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.4043, allocations: 4.031 kB / 0.6098 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.4043, allocations: 4 kB / 0.6098 GB, free: 9.301 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006555/0.405, allocations: 0.6432 MB / 0.6104 GB, free: 8.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.405, allocations: 0 / 0.6104 GB, free: 8.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002662/0.4053, allocations: 55.94 kB / 0.6105 GB, free: 8.605 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007404/0.406, allocations: 356.3 kB / 0.6108 GB, free: 8.383 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001446/0.4062, allocations: 31.92 kB / 0.6108 GB, free: 8.352 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4062, allocations: 0 / 0.6108 GB, free: 8.352 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.755e-05/0.4062, allocations: 15.98 kB / 0.6108 GB, free: 8.336 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.4066, allocations: 26.98 kB / 0.6109 GB, free: 8.309 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.4078, allocations: 0.8892 MB / 0.6117 GB, free: 7.395 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.4083, allocations: 0.8223 MB / 0.6125 GB, free: 6.547 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.631e-05/0.4083, allocations: 40.23 kB / 0.6126 GB, free: 6.508 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.4084, allocations: 23.42 kB / 0.6126 GB, free: 6.484 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4084, allocations: 4 kB / 0.6126 GB, free: 6.48 MB / 426.7 MB Notification: Performance of Templates: time 0.005654/0.4141, allocations: 2.257 MB / 0.6148 GB, free: 4.219 MB / 426.7 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","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches