Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 104.2 kB / 18.45 MB, free: 4.625 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.001105/0.001105, allocations: 184.2 kB / 19.38 MB, free: 3.703 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.362/1.362, allocations: 222.9 MB / 243.1 MB, free: 15.18 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.2297/0.2297, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 71.89 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3879, allocations: 60.81 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.00296/0.391, allocations: 1.639 MB / 0.5212 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007541/0.3917, allocations: 457.4 kB / 0.5216 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.068e-05/0.3918, allocations: 1.062 kB / 0.5216 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007169/0.3925, allocations: 447.2 kB / 0.522 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004312/0.393, allocations: 261.3 kB / 0.5223 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.3934, allocations: 171.4 kB / 0.5225 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002901/0.3937, allocations: 168.4 kB / 0.5226 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.3938, allocations: 20.98 kB / 0.5226 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.394, allocations: 112.9 kB / 0.5228 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.3943, allocations: 211.4 kB / 0.523 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.3943, allocations: 12.25 kB / 0.523 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3944, allocations: 46.48 kB / 0.523 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.3945, allocations: 82.86 kB / 0.5231 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.113e-05/0.3946, allocations: 108.9 kB / 0.5232 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.395, allocations: 274.2 kB / 0.5235 GB, free: 1.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.395, allocations: 0 / 0.5235 GB, free: 1.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.395, allocations: 0.75 kB / 0.5235 GB, free: 1.727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.395, allocations: 0 / 0.5235 GB, free: 1.727 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006445/0.3956, allocations: 0.6354 MB / 0.5241 GB, free: 1.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3957, allocations: 12.41 kB / 0.5241 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.39e-05/0.3957, allocations: 43.45 kB / 0.5241 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.396, allocations: 294.4 kB / 0.5244 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.396, allocations: 7.281 kB / 0.5244 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.396, allocations: 8.375 kB / 0.5244 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.3962, allocations: 68.72 kB / 0.5245 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.3962, allocations: 0 / 0.5245 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3962, allocations: 1.906 kB / 0.5245 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3962, allocations: 0 / 0.5245 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.3963, allocations: 38.84 kB / 0.5245 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.3968, allocations: 405.8 kB / 0.5249 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.763e-05/0.3969, allocations: 43.75 kB / 0.525 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.763e-05/0.397, allocations: 24.12 kB / 0.525 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.397, allocations: 2.688 kB / 0.525 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.397, allocations: 35.55 kB / 0.525 GB, free: 388 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.397, allocations: 0 / 0.525 GB, free: 388 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009169/0.398, allocations: 308.1 kB / 0.5253 GB, free: 248 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.398, allocations: 56.14 kB / 0.5254 GB, free: 180 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008803/0.3989, allocations: 0.8663 MB / 0.5262 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.3989, allocations: 25.7 kB / 0.5262 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.3991, allocations: 222.3 kB / 0.5264 GB, free: 15.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.3991, allocations: 26.14 kB / 0.5265 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.3992, allocations: 20.09 kB / 0.5265 GB, free: 15.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3994, allocations: 364.5 kB / 0.5268 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.713e-05/0.3994, allocations: 24.52 kB / 0.5269 GB, free: 15.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.73e-05/0.3995, allocations: 41.78 kB / 0.5269 GB, free: 15.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.3997, allocations: 78.52 kB / 0.527 GB, free: 15.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3997, allocations: 0 / 0.527 GB, free: 15.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002498/0.4, allocations: 143.2 kB / 0.5271 GB, free: 15.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.4, allocations: 11.73 kB / 0.5271 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4, allocations: 3.938 kB / 0.5271 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.4, allocations: 1.469 kB / 0.5271 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.475e-05/0.4001, allocations: 17.5 kB / 0.5271 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.4001, allocations: 7.922 kB / 0.5272 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.339e-05/0.4002, allocations: 8.656 kB / 0.5272 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.4002, allocations: 5.312 kB / 0.5272 GB, free: 15 MB / 398.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 (8): * Single equations (assignments): 8 * 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.0001789/0.4004, allocations: 220 kB / 0.5274 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.4005, allocations: 41.31 kB / 0.5274 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.4008, allocations: 169.7 kB / 0.5276 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.4008, allocations: 1.594 kB / 0.5276 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4008, allocations: 7.875 kB / 0.5276 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4008, allocations: 0.8438 kB / 0.5276 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006641/0.4015, allocations: 0.5058 MB / 0.5281 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.4015, allocations: 5.469 kB / 0.5281 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.097e-05/0.4016, allocations: 29.45 kB / 0.5281 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4016, allocations: 1.5 kB / 0.5281 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.4016, allocations: 1.703 kB / 0.5281 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4016, allocations: 0 / 0.5281 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4016, allocations: 1.219 kB / 0.5281 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.4019, allocations: 246.5 kB / 0.5284 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.383e-05/0.402, allocations: 123.5 kB / 0.5285 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.402, allocations: 1.125 kB / 0.5285 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.635e-05/0.4021, allocations: 10.58 kB / 0.5285 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.4022, allocations: 7.609 kB / 0.5285 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.4022, allocations: 2.469 kB / 0.5285 GB, free: 13.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006976/0.4029, allocations: 0.648 MB / 0.5291 GB, free: 13.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4029, allocations: 3.938 kB / 0.5291 GB, free: 13.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.4032, allocations: 30.38 kB / 0.5292 GB, free: 13.59 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001011/0.4042, allocations: 455.3 kB / 0.5296 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.4045, allocations: 80.42 kB / 0.5297 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4045, allocations: 4 kB / 0.5297 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.331e-05/0.4046, allocations: 39.83 kB / 0.5297 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.405, allocations: 34.36 kB / 0.5297 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.4062, allocations: 0.8509 MB / 0.5306 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.4066, allocations: 0.8308 MB / 0.5314 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.4067, allocations: 14.28 kB / 0.5314 GB, free: 12.05 MB / 398.1 MB Notification: Performance of SimCode: time 2.064e-06/0.4067, allocations: 4 kB / 0.5314 GB, free: 12.05 MB / 398.1 MB Notification: Performance of Templates: time 0.007489/0.4142, allocations: 3.993 MB / 0.5353 GB, free: 9.938 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches