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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 113.9 kB / 18.46 MB, free: 4.598 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.001817/0.001816, allocations: 185.9 kB / 19.38 MB, free: 3.68 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.453/1.453, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2245/0.2245, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 63.89 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3897, allocations: 60.82 MB / 0.5195 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004872/0.3947, allocations: 4.12 MB / 0.5236 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00245/0.3971, allocations: 1.07 MB / 0.5246 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003629/0.3975, allocations: 13.19 kB / 0.5246 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.3978, allocations: 103.9 kB / 0.5247 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005469/0.3984, allocations: 204.8 kB / 0.5249 GB, free: 15.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007506/0.3992, allocations: 196.2 kB / 0.5251 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009889/0.4002, allocations: 0.7816 MB / 0.5259 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004169/0.4006, allocations: 234.4 kB / 0.5261 GB, free: 15.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004623/0.4011, allocations: 303.4 kB / 0.5264 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004542/0.4016, allocations: 343.9 kB / 0.5267 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.4017, allocations: 58.25 kB / 0.5268 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.4019, allocations: 88.81 kB / 0.5269 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.4021, allocations: 144.1 kB / 0.527 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004474/0.4026, allocations: 354.2 kB / 0.5273 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.4037, allocations: 0.7747 MB / 0.5281 GB, free: 14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.902e-06/0.4038, allocations: 0 / 0.5281 GB, free: 14 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4038, allocations: 1.375 kB / 0.5281 GB, free: 14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.4038, allocations: 0 / 0.5281 GB, free: 14 MB / 398.1 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.002291/0.4061, allocations: 0.9952 MB / 0.5291 GB, free: 13.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.4062, allocations: 12.44 kB / 0.5291 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.4063, allocations: 75.22 kB / 0.5291 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006119/0.407, allocations: 399.3 kB / 0.5295 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.282e-05/0.407, allocations: 44.84 kB / 0.5296 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.4071, allocations: 68.75 kB / 0.5296 GB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.4084, allocations: 0.6242 MB / 0.5302 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.855e-05/0.4084, allocations: 18.52 kB / 0.5303 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.643e-05/0.4085, allocations: 25.73 kB / 0.5303 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.4085, allocations: 18.03 kB / 0.5303 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.4098, allocations: 0.5225 MB / 0.5308 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003748/0.4135, allocations: 2.151 MB / 0.5329 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.415, allocations: 0.704 MB / 0.5336 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006477/0.4157, allocations: 341.6 kB / 0.5339 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.4158, allocations: 101.9 kB / 0.534 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.4159, allocations: 51.28 kB / 0.5341 GB, free: 9.492 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.886e-06/0.4159, allocations: 1.25 kB / 0.5341 GB, free: 9.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.009135/0.425, allocations: 4.488 MB / 0.5385 GB, free: 6.211 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.4252, allocations: 226.5 kB / 0.5387 GB, free: 5.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004286/0.4256, allocations: 362.3 kB / 0.539 GB, free: 5.727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.832e-05/0.4257, allocations: 45.3 kB / 0.5391 GB, free: 5.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.4259, allocations: 272 kB / 0.5393 GB, free: 5.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000341/0.4263, allocations: 405 kB / 0.5397 GB, free: 5.078 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002937/0.4266, allocations: 180.8 kB / 0.5399 GB, free: 4.965 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.4268, allocations: 378.8 kB / 0.5402 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006657/0.4275, allocations: 314.3 kB / 0.5405 GB, free: 4.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008509/0.4283, allocations: 0.5106 MB / 0.541 GB, free: 4.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.4299, allocations: 0.8634 MB / 0.5419 GB, free: 3.551 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.4299, allocations: 8.906 kB / 0.5419 GB, free: 3.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001891/0.4318, allocations: 1.012 MB / 0.5429 GB, free: 3.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.4318, allocations: 10.5 kB / 0.5429 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.4319, allocations: 6.078 kB / 0.5429 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/0.4319, allocations: 9.688 kB / 0.5429 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.4329, allocations: 285.8 kB / 0.5432 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/0.433, allocations: 12.36 kB / 0.5432 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004947/0.4335, allocations: 55.91 kB / 0.5432 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-05/0.4335, allocations: 36 kB / 0.5433 GB, free: 2.832 MB / 398.1 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.0003341/0.4339, allocations: 229.6 kB / 0.5435 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.4341, allocations: 83.08 kB / 0.5436 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004652/0.4346, allocations: 210.8 kB / 0.5438 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.4346, allocations: 11.97 kB / 0.5438 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.4346, allocations: 4 kB / 0.5438 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/0.4349, allocations: 196.2 kB / 0.544 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.477e-05/0.435, allocations: 24 kB / 0.544 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005874/0.4356, allocations: 35.97 kB / 0.544 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.4358, allocations: 84.47 kB / 0.5441 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002611/0.4384, allocations: 1.541 MB / 0.5456 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002652/0.4411, allocations: 1.957 MB / 0.5475 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007242/0.4418, allocations: 432.1 kB / 0.5479 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002679/0.4421, allocations: 251.2 kB / 0.5482 GB, free: 13.74 MB / 414.1 MB Notification: Performance of Backend: time 4.61e-07/0.4421, allocations: 192 / 0.5482 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001948/0.444, allocations: 0.6349 MB / 0.5488 GB, free: 13.1 MB / 414.1 MB Notification: Performance of SimCode: time 0.003043/0.4471, allocations: 2.362 MB / 0.5511 GB, free: 10.68 MB / 414.1 MB Notification: Performance of Templates: time 0.01711/0.4642, allocations: 9.411 MB / 0.5603 GB, free: 1.328 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches