Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009884/0.0009883, allocations: 183.1 kB / 18.09 MB, free: 3.723 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.213/1.213, allocations: 223.3 MB / 242.1 MB, free: 9.93 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.0008375/0.0008374, allocations: 102.6 kB / 293.3 MB, free: 10.54 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.2711/0.2711, allocations: 44.14 MB / 388.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003218, allocations: 12 kB / 461.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2761, allocations: 61.89 MB / 0.5107 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1076/0.3837, allocations: 88.76 MB / 0.5974 GB, free: 6.301 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.384, allocations: 79.89 kB / 0.5975 GB, free: 6.227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0176/0.4016, allocations: 8.063 MB / 0.6054 GB, free: 14.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4017, allocations: 4 kB / 0.6054 GB, free: 14.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.677e-05/0.4017, allocations: 4 kB / 0.6054 GB, free: 14.13 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.0008309/0.4026, allocations: 0.6376 MB / 0.606 GB, free: 13.44 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.4026, allocations: 8.031 kB / 0.606 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.169e-05/0.4027, allocations: 40.38 kB / 0.606 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004742/0.4032, allocations: 344.2 kB / 0.6064 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.4032, allocations: 4.375 kB / 0.6064 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.4032, allocations: 384 / 0.6064 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.4034, allocations: 65.94 kB / 0.6064 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.4034, allocations: 4.188 kB / 0.6064 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.4034, allocations: 7.938 kB / 0.6064 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4035, allocations: 0 / 0.6064 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.4036, allocations: 43.91 kB / 0.6065 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006731/0.4043, allocations: 452.7 kB / 0.6069 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.4044, allocations: 50.5 kB / 0.607 GB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.75e-05/0.4045, allocations: 28.94 kB / 0.607 GB, free: 12.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.4045, allocations: 0 / 0.607 GB, free: 12.31 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.4046, allocations: 42.5 kB / 0.607 GB, free: 12.26 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4046, allocations: 0 / 0.607 GB, free: 12.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003719/0.405, allocations: 141.1 kB / 0.6072 GB, free: 12.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.405, allocations: 55.41 kB / 0.6072 GB, free: 12.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.4063, allocations: 0.8418 MB / 0.608 GB, free: 11.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.4063, allocations: 33.64 kB / 0.6081 GB, free: 11.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.4064, allocations: 208.1 kB / 0.6083 GB, free: 10.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.4065, allocations: 11.89 kB / 0.6083 GB, free: 10.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.4065, allocations: 0 / 0.6083 GB, free: 10.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.4066, allocations: 354.8 kB / 0.6086 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.976e-05/0.4067, allocations: 27.98 kB / 0.6086 GB, free: 10.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.13e-05/0.4068, allocations: 19.98 kB / 0.6087 GB, free: 10.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.4069, allocations: 60.75 kB / 0.6087 GB, free: 10.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4069, allocations: 3.938 kB / 0.6087 GB, free: 10.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002133/0.4071, allocations: 113.1 kB / 0.6088 GB, free: 10.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.4072, allocations: 8 kB / 0.6088 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4072, allocations: 0 / 0.6088 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.4072, allocations: 0 / 0.6088 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.816e-05/0.4073, allocations: 11.98 kB / 0.6089 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.4073, allocations: 4 kB / 0.6089 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.135e-05/0.4074, allocations: 8 kB / 0.6089 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.4074, allocations: 4 kB / 0.6089 GB, free: 10.32 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 (3): * Single equations (assignments): 3 * 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.0001969/0.4076, allocations: 214.2 kB / 0.6091 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.425e-05/0.4077, allocations: 43.44 kB / 0.6091 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.408, allocations: 140.9 kB / 0.6092 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.408, allocations: 0 / 0.6092 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.408, allocations: 4 kB / 0.6093 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.408, allocations: 384 / 0.6093 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.4083, allocations: 333.3 kB / 0.6096 GB, free: 9.523 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4083, allocations: 3.984 kB / 0.6096 GB, free: 9.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.192e-05/0.4084, allocations: 12 kB / 0.6096 GB, free: 9.508 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4084, allocations: 0 / 0.6096 GB, free: 9.508 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.4084, allocations: 3.938 kB / 0.6096 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4084, allocations: 4 kB / 0.6096 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4084, allocations: 0 / 0.6096 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.4087, allocations: 222.8 kB / 0.6098 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.4089, allocations: 156.6 kB / 0.61 GB, free: 9.094 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.4089, allocations: 4 kB / 0.61 GB, free: 9.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.099e-05/0.409, allocations: 15.98 kB / 0.61 GB, free: 9.074 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.4091, allocations: 0 / 0.61 GB, free: 9.074 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.4091, allocations: 0 / 0.61 GB, free: 9.074 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006867/0.4098, allocations: 0.6394 MB / 0.6106 GB, free: 8.438 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4098, allocations: 0 / 0.6106 GB, free: 8.438 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002804/0.4101, allocations: 55.98 kB / 0.6107 GB, free: 8.383 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 (3): * Single equations (assignments): 3 * 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.0008492/0.4109, allocations: 351.1 kB / 0.611 GB, free: 8.168 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.4111, allocations: 59.89 kB / 0.611 GB, free: 8.109 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.4111, allocations: 1.219 kB / 0.611 GB, free: 8.109 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.287e-05/0.4112, allocations: 23.98 kB / 0.6111 GB, free: 8.086 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.4116, allocations: 33.27 kB / 0.6111 GB, free: 8.055 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.413, allocations: 0.8996 MB / 0.612 GB, free: 7.129 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.4135, allocations: 0.8224 MB / 0.6128 GB, free: 6.281 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.4137, allocations: 40.23 kB / 0.6128 GB, free: 6.242 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.4137, allocations: 19.44 kB / 0.6128 GB, free: 6.223 MB / 426.7 MB Notification: Performance of SimCode: time 6.42e-07/0.4137, allocations: 0 / 0.6128 GB, free: 6.223 MB / 426.7 MB Notification: Performance of Templates: time 0.006413/0.4202, allocations: 2.308 MB / 0.6151 GB, free: 3.91 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches