Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001541, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.00158/0.001581, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.469/1.469, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2333/0.2333, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 59.89 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4443/0.4457, allocations: 60.83 MB / 0.5189 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002911/0.4487, allocations: 1.614 MB / 0.5205 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008495/0.4495, allocations: 461.5 kB / 0.5209 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.336e-05/0.4496, allocations: 1.375 kB / 0.5209 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008007/0.4504, allocations: 450.5 kB / 0.5214 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004583/0.4509, allocations: 257.4 kB / 0.5216 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.4514, allocations: 167.6 kB / 0.5218 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.4517, allocations: 172.5 kB / 0.5219 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.4518, allocations: 23.38 kB / 0.522 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.452, allocations: 106.3 kB / 0.5221 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003639/0.4523, allocations: 219.5 kB / 0.5223 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.4524, allocations: 3.438 kB / 0.5223 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.546e-05/0.4525, allocations: 35.34 kB / 0.5223 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.4526, allocations: 81.84 kB / 0.5224 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.784e-05/0.4527, allocations: 105 kB / 0.5225 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.4531, allocations: 256.2 kB / 0.5227 GB, free: 1.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4531, allocations: 0 / 0.5227 GB, free: 1.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4531, allocations: 0 / 0.5227 GB, free: 1.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.4531, allocations: 1.594 kB / 0.5227 GB, free: 1.992 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000737/0.4538, allocations: 0.6477 MB / 0.5234 GB, free: 1.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.4539, allocations: 9.516 kB / 0.5234 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.051e-05/0.454, allocations: 42.69 kB / 0.5234 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.4542, allocations: 296.8 kB / 0.5237 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.4542, allocations: 384 / 0.5237 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.4542, allocations: 4.234 kB / 0.5237 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.4544, allocations: 65.5 kB / 0.5238 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4545, allocations: 0 / 0.5238 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.4545, allocations: 1.656 kB / 0.5238 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.4545, allocations: 0.6094 kB / 0.5238 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.4546, allocations: 48.17 kB / 0.5238 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.4551, allocations: 400.2 kB / 0.5242 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.4552, allocations: 48.11 kB / 0.5242 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.106e-05/0.4553, allocations: 28.59 kB / 0.5243 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.4554, allocations: 1.375 kB / 0.5243 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.4554, allocations: 36.48 kB / 0.5243 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.4554, allocations: 3.938 kB / 0.5243 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008108/0.4562, allocations: 310.5 kB / 0.5246 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.4562, allocations: 57.22 kB / 0.5247 GB, free: 440 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008354/0.4571, allocations: 0.8519 MB / 0.5255 GB, free: 56 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.4571, allocations: 27.08 kB / 0.5255 GB, free: 24 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.4573, allocations: 219.5 kB / 0.5257 GB, free: 15.83 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.4573, allocations: 14.47 kB / 0.5257 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.4574, allocations: 23.2 kB / 0.5258 GB, free: 15.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.4576, allocations: 367.2 kB / 0.5261 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.4577, allocations: 37.97 kB / 0.5261 GB, free: 15.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.4578, allocations: 41.95 kB / 0.5262 GB, free: 15.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.458, allocations: 82.17 kB / 0.5263 GB, free: 15.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.458, allocations: 4 kB / 0.5263 GB, free: 15.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003274/0.4584, allocations: 157.8 kB / 0.5264 GB, free: 15.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.4584, allocations: 12.25 kB / 0.5264 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.4584, allocations: 0 / 0.5264 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.4584, allocations: 1.375 kB / 0.5264 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.4586, allocations: 25.72 kB / 0.5265 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4586, allocations: 1.188 kB / 0.5265 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.044e-05/0.4586, allocations: 13.41 kB / 0.5265 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/0.4587, allocations: 1.312 kB / 0.5265 GB, free: 15.25 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 (7): * Single equations (assignments): 7 * 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.0002111/0.4589, allocations: 215.7 kB / 0.5267 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.777e-05/0.459, allocations: 42.25 kB / 0.5267 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003967/0.4594, allocations: 182.5 kB / 0.5269 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.4594, allocations: 1.281 kB / 0.5269 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4594, allocations: 7.984 kB / 0.5269 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.4594, allocations: 3.938 kB / 0.5269 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000677/0.4601, allocations: 0.5 MB / 0.5274 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4601, allocations: 0 / 0.5274 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.961e-05/0.4602, allocations: 22.39 kB / 0.5274 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4602, allocations: 1.656 kB / 0.5274 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.4602, allocations: 7.938 kB / 0.5274 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4602, allocations: 1.344 kB / 0.5274 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4602, allocations: 0 / 0.5274 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.4606, allocations: 249.8 kB / 0.5277 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.978e-05/0.4607, allocations: 105.4 kB / 0.5278 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.4607, allocations: 5 kB / 0.5278 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.997e-05/0.4608, allocations: 17.95 kB / 0.5278 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.4608, allocations: 7.078 kB / 0.5278 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.4609, allocations: 5.656 kB / 0.5278 GB, free: 14.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007056/0.4616, allocations: 0.6454 MB / 0.5284 GB, free: 13.87 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4616, allocations: 0 / 0.5284 GB, free: 13.87 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.4618, allocations: 28.81 kB / 0.5285 GB, free: 13.86 MB / 398.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 (7): * Single equations (assignments): 7 * 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.0009537/0.4628, allocations: 394.6 kB / 0.5288 GB, free: 13.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002957/0.4631, allocations: 92.22 kB / 0.5289 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4631, allocations: 0 / 0.5289 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.4633, allocations: 48.44 kB / 0.529 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.4637, allocations: 31.48 kB / 0.529 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.4649, allocations: 0.8022 MB / 0.5298 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/0.4654, allocations: 0.8338 MB / 0.5306 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.184e-05/0.4655, allocations: 20.66 kB / 0.5306 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.4655, allocations: 11.94 kB / 0.5306 GB, free: 12.38 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4655, allocations: 3.938 kB / 0.5306 GB, free: 12.38 MB / 398.1 MB Notification: Performance of Templates: time 0.005284/0.4708, allocations: 1.629 MB / 0.5322 GB, free: 11.56 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches