Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 113.9 kB / 18.46 MB, free: 4.617 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.001248/0.001248, allocations: 186.1 kB / 19.39 MB, free: 3.691 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.359/1.359, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.2121/0.2121, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 63.91 kB / 471.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3813, allocations: 60.81 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.00316/0.3845, allocations: 1.651 MB / 0.5212 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009848/0.3855, allocations: 463.5 kB / 0.5217 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.563e-05/0.3856, allocations: 5.156 kB / 0.5217 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009127/0.3865, allocations: 451.2 kB / 0.5221 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005724/0.3871, allocations: 248.5 kB / 0.5223 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006075/0.3877, allocations: 176.8 kB / 0.5225 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00043/0.3882, allocations: 175.4 kB / 0.5227 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.3884, allocations: 25.66 kB / 0.5227 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.3886, allocations: 112.8 kB / 0.5228 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003887/0.389, allocations: 214.3 kB / 0.523 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.389, allocations: 3.719 kB / 0.523 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.3892, allocations: 51.66 kB / 0.5231 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.3893, allocations: 86.95 kB / 0.5231 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.119e-05/0.3894, allocations: 101.4 kB / 0.5232 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003823/0.3898, allocations: 276.6 kB / 0.5235 GB, free: 1.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3898, allocations: 0 / 0.5235 GB, free: 1.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3898, allocations: 0 / 0.5235 GB, free: 1.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.3898, allocations: 0 / 0.5235 GB, free: 1.707 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.0007263/0.3906, allocations: 0.6658 MB / 0.5241 GB, free: 1.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3906, allocations: 9.922 kB / 0.5242 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.679e-05/0.3907, allocations: 43.88 kB / 0.5242 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.3909, allocations: 306.2 kB / 0.5245 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.391, allocations: 5.75 kB / 0.5245 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.391, allocations: 7.125 kB / 0.5245 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.3912, allocations: 66.59 kB / 0.5246 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.3912, allocations: 1.891 kB / 0.5246 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3912, allocations: 7.938 kB / 0.5246 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.3912, allocations: 5.359 kB / 0.5246 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.3914, allocations: 42.36 kB / 0.5246 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000558/0.392, allocations: 416.4 kB / 0.525 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.3922, allocations: 60.39 kB / 0.5251 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.598e-05/0.3923, allocations: 27.03 kB / 0.5251 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.3924, allocations: 1.312 kB / 0.5251 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.3924, allocations: 31.17 kB / 0.5251 GB, free: 328 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3924, allocations: 5.281 kB / 0.5251 GB, free: 324 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001733/0.3942, allocations: 0.4947 MB / 0.5256 GB, free: 124 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/0.3942, allocations: 56.75 kB / 0.5257 GB, free: 56 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009373/0.3951, allocations: 0.8549 MB / 0.5265 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3952, allocations: 31.08 kB / 0.5265 GB, free: 15.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.3953, allocations: 211.6 kB / 0.5267 GB, free: 15.42 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.3954, allocations: 39.77 kB / 0.5268 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.3954, allocations: 26.28 kB / 0.5268 GB, free: 15.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3956, allocations: 360.2 kB / 0.5271 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.3957, allocations: 59.52 kB / 0.5272 GB, free: 14.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.3959, allocations: 49.28 kB / 0.5272 GB, free: 14.97 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.3962, allocations: 128.4 kB / 0.5274 GB, free: 14.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3962, allocations: 0 / 0.5274 GB, free: 14.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003797/0.3966, allocations: 201.9 kB / 0.5276 GB, free: 14.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3966, allocations: 5.031 kB / 0.5276 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3966, allocations: 0 / 0.5276 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3966, allocations: 5.094 kB / 0.5276 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.3967, allocations: 27.36 kB / 0.5276 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.3968, allocations: 5.5 kB / 0.5276 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.492e-05/0.3968, allocations: 14.42 kB / 0.5276 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.3969, allocations: 5.312 kB / 0.5276 GB, free: 14.76 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 (11): * Single equations (assignments): 11 * 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.0002084/0.3971, allocations: 216.8 kB / 0.5278 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.3971, allocations: 46.95 kB / 0.5279 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004821/0.3976, allocations: 228.4 kB / 0.5281 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.3976, allocations: 3.984 kB / 0.5281 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3977, allocations: 4.938 kB / 0.5281 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.137e-05/0.3977, allocations: 110.8 kB / 0.5282 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.3978, allocations: 5.125 kB / 0.5282 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3979, allocations: 9.047 kB / 0.5282 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.3979, allocations: 8.391 kB / 0.5282 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003979/0.3984, allocations: 245.5 kB / 0.5285 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004374/0.3988, allocations: 379.8 kB / 0.5288 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001487/0.399, allocations: 61.95 kB / 0.5289 GB, free: 13.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006399/0.3996, allocations: 0.6522 MB / 0.5295 GB, free: 13.49 MB / 398.1 MB Notification: Performance of Backend: time 3.31e-07/0.3996, allocations: 0 / 0.5295 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001495/0.4011, allocations: 0.5986 MB / 0.5301 GB, free: 13.24 MB / 398.1 MB Notification: Performance of SimCode: time 0.001265/0.4024, allocations: 1.169 MB / 0.5312 GB, free: 12.35 MB / 398.1 MB Notification: Performance of Templates: time 0.006492/0.4089, allocations: 2.196 MB / 0.5334 GB, free: 11.26 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches