Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.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.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.464/1.464, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.001008/0.001008, allocations: 114.4 kB / 291.9 MB, free: 10.91 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.3958/0.3958, allocations: 44.12 MB / 386.1 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 51.92 kB / 457.7 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3938, allocations: 60.8 MB / 0.5064 GB, free: 38.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004655/0.3985, allocations: 4.137 MB / 0.5104 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.4003, allocations: 1.051 MB / 0.5114 GB, free: 34.56 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002607/0.4006, allocations: 15.59 kB / 0.5115 GB, free: 34.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002281/0.4009, allocations: 73.84 kB / 0.5115 GB, free: 34.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.4012, allocations: 172.8 kB / 0.5117 GB, free: 34.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004103/0.4016, allocations: 167.9 kB / 0.5119 GB, free: 34.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006043/0.4023, allocations: 0.7558 MB / 0.5126 GB, free: 33.92 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.4026, allocations: 210.9 kB / 0.5128 GB, free: 33.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002831/0.4028, allocations: 275.9 kB / 0.5131 GB, free: 33.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.4031, allocations: 328.6 kB / 0.5134 GB, free: 33.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.17e-05/0.4032, allocations: 41.09 kB / 0.5134 GB, free: 33.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.4034, allocations: 65.67 kB / 0.5135 GB, free: 33.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.4035, allocations: 122.1 kB / 0.5136 GB, free: 33.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000271/0.4038, allocations: 339.2 kB / 0.5139 GB, free: 33.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005743/0.4043, allocations: 0.7222 MB / 0.5146 GB, free: 32.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.4044, allocations: 0 / 0.5146 GB, free: 32.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.4044, allocations: 3.328 kB / 0.5146 GB, free: 32.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.4044, allocations: 0 / 0.5146 GB, free: 32.98 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001674/0.4061, allocations: 1.001 MB / 0.5156 GB, free: 32.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.4061, allocations: 8.219 kB / 0.5156 GB, free: 32.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.4062, allocations: 75.44 kB / 0.5157 GB, free: 32.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.4066, allocations: 392.4 kB / 0.5161 GB, free: 31.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.4067, allocations: 43.91 kB / 0.5161 GB, free: 31.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.4068, allocations: 67.56 kB / 0.5162 GB, free: 31.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.4079, allocations: 0.6282 MB / 0.5168 GB, free: 31.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/0.4079, allocations: 12.78 kB / 0.5168 GB, free: 31.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.408, allocations: 20.97 kB / 0.5168 GB, free: 31.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.408, allocations: 18.06 kB / 0.5168 GB, free: 31.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.409, allocations: 0.5311 MB / 0.5173 GB, free: 31.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002619/0.4117, allocations: 2.173 MB / 0.5195 GB, free: 29.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.4127, allocations: 0.6928 MB / 0.5201 GB, free: 29.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005221/0.4133, allocations: 346.2 kB / 0.5205 GB, free: 29.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001298/0.4134, allocations: 91.69 kB / 0.5206 GB, free: 29.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.4134, allocations: 56.17 kB / 0.5206 GB, free: 29.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 3.216e-06/0.4134, allocations: 0 / 0.5206 GB, free: 29.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=115): time 0.006747/0.4202, allocations: 4.48 MB / 0.525 GB, free: 26.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/0.4203, allocations: 220.8 kB / 0.5252 GB, free: 26.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.4206, allocations: 371.7 kB / 0.5256 GB, free: 25.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.4207, allocations: 42.95 kB / 0.5256 GB, free: 25.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.4208, allocations: 267.1 kB / 0.5258 GB, free: 25.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.4211, allocations: 410.6 kB / 0.5262 GB, free: 25.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/0.4213, allocations: 177.4 kB / 0.5264 GB, free: 25.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4214, allocations: 378.5 kB / 0.5268 GB, free: 24.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005762/0.422, allocations: 321.5 kB / 0.5271 GB, free: 24.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006734/0.4227, allocations: 0.5032 MB / 0.5276 GB, free: 24.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.424, allocations: 0.8818 MB / 0.5284 GB, free: 23.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.424, allocations: 0 / 0.5284 GB, free: 23.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001455/0.4254, allocations: 1.009 MB / 0.5294 GB, free: 23.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.4255, allocations: 13.78 kB / 0.5294 GB, free: 23.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.4255, allocations: 2.5 kB / 0.5294 GB, free: 23.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.4255, allocations: 11.28 kB / 0.5294 GB, free: 23.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000915/0.4264, allocations: 284.2 kB / 0.5297 GB, free: 23.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/0.4265, allocations: 14.84 kB / 0.5297 GB, free: 23.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003955/0.4269, allocations: 46.95 kB / 0.5298 GB, free: 23.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.574e-05/0.4269, allocations: 47.36 kB / 0.5298 GB, free: 23.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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.0002417/0.4272, allocations: 236.6 kB / 0.53 GB, free: 23.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.4274, allocations: 75.66 kB / 0.5301 GB, free: 23.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004143/0.4278, allocations: 222.1 kB / 0.5303 GB, free: 23.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.4278, allocations: 12.78 kB / 0.5303 GB, free: 23.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-05/0.4279, allocations: 2.25 kB / 0.5303 GB, free: 23.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.4279, allocations: 8.672 kB / 0.5303 GB, free: 23.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003277/0.4311, allocations: 2.351 MB / 0.5326 GB, free: 21.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.4312, allocations: 3.438 kB / 0.5326 GB, free: 21.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009382/0.4321, allocations: 252.1 kB / 0.5329 GB, free: 21.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.84e-05/0.4321, allocations: 9.641 kB / 0.5329 GB, free: 21.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-05/0.4322, allocations: 29.31 kB / 0.5329 GB, free: 21.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/0.4322, allocations: 12.86 kB / 0.5329 GB, free: 21.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.4322, allocations: 7.172 kB / 0.5329 GB, free: 21.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006925/0.4392, allocations: 5.264 MB / 0.5381 GB, free: 18.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/0.4394, allocations: 192.9 kB / 0.5383 GB, free: 18.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.4396, allocations: 25.81 kB / 0.5383 GB, free: 18.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005931/0.4402, allocations: 45.31 kB / 0.5383 GB, free: 18.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.4403, allocations: 87.08 kB / 0.5384 GB, free: 18.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/0.4404, allocations: 40.19 kB / 0.5385 GB, free: 18.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001881/0.4406, allocations: 249.1 kB / 0.5387 GB, free: 18.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4406, allocations: 0 / 0.5387 GB, free: 18.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000991/0.4416, allocations: 251.1 kB / 0.5389 GB, free: 18.17 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.0001746/0.4418, allocations: 139 kB / 0.5391 GB, free: 18.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001632/0.4434, allocations: 0.8343 MB / 0.5399 GB, free: 17.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4434, allocations: 2.031 kB / 0.5399 GB, free: 17.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008539/0.4443, allocations: 497.4 kB / 0.5404 GB, free: 17.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.4455, allocations: 125 kB / 0.5405 GB, free: 17.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004084/0.4496, allocations: 3.078 MB / 0.5435 GB, free: 15.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005796/0.4502, allocations: 0.9648 MB / 0.5444 GB, free: 14.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000559/0.4508, allocations: 110.8 kB / 0.5445 GB, free: 14.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.451, allocations: 68.48 kB / 0.5446 GB, free: 14.68 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.451, allocations: 0 / 0.5446 GB, free: 14.68 MB / 378.7 MB Notification: Performance of Templates: time 0.01924/0.4703, allocations: 7.982 MB / 0.5524 GB, free: 14.12 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches