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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 104.6 kB / 21.22 MB, free: 0.5078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002225/0.002225, allocations: 186.5 kB / 24.52 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2594/0.2594, allocations: 44.91 MB / 353.5 MB, free: 11.82 MB / 286.1 MB " [Timeout remaining time 179] 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=5004,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=5004,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 68.12 kB / 497.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3779, allocations: 64.3 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006313/0.3842, allocations: 4.149 MB / 0.5529 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00337/0.3876, allocations: 1.081 MB / 0.5539 GB, free: 8.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.3886, allocations: 18.34 kB / 0.5539 GB, free: 8.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004412/0.3891, allocations: 99.2 kB / 0.554 GB, free: 8.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008479/0.3899, allocations: 203.5 kB / 0.5542 GB, free: 8.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009085/0.3908, allocations: 201.4 kB / 0.5544 GB, free: 8.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001318/0.3922, allocations: 0.7765 MB / 0.5552 GB, free: 8.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003674/0.3925, allocations: 165 kB / 0.5553 GB, free: 7.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004659/0.393, allocations: 317.2 kB / 0.5556 GB, free: 7.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004332/0.3934, allocations: 345.9 kB / 0.556 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.3935, allocations: 57.5 kB / 0.556 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.3937, allocations: 86.41 kB / 0.5561 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.3939, allocations: 148.2 kB / 0.5562 GB, free: 7.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004045/0.3943, allocations: 355 kB / 0.5566 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.3955, allocations: 0.7697 MB / 0.5573 GB, free: 6.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3955, allocations: 0 / 0.5573 GB, free: 6.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.726e-06/0.3955, allocations: 1.031 kB / 0.5573 GB, free: 6.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.698e-05/0.3955, allocations: 0 / 0.5573 GB, free: 6.617 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.002447/0.3979, allocations: 0.9376 MB / 0.5582 GB, free: 5.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.398, allocations: 8.922 kB / 0.5583 GB, free: 5.703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.3981, allocations: 88.36 kB / 0.5583 GB, free: 5.617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000602/0.3987, allocations: 340.3 kB / 0.5587 GB, free: 5.258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.283e-05/0.3988, allocations: 45.67 kB / 0.5587 GB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.3989, allocations: 68.33 kB / 0.5588 GB, free: 5.145 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.4003, allocations: 0.6268 MB / 0.5594 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.78e-05/0.4003, allocations: 7.953 kB / 0.5594 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.349e-05/0.4004, allocations: 28 kB / 0.5594 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.68e-05/0.4005, allocations: 12 kB / 0.5594 GB, free: 4.441 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.4017, allocations: 0.5332 MB / 0.56 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003395/0.4051, allocations: 2.1 MB / 0.562 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.4064, allocations: 0.6679 MB / 0.5627 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000649/0.4071, allocations: 323.2 kB / 0.563 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.4072, allocations: 28.59 kB / 0.563 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.4072, allocations: 47 kB / 0.563 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.635e-06/0.4072, allocations: 0 / 0.563 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.008975/0.4162, allocations: 3.941 MB / 0.5669 GB, free: 12.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001575/0.4164, allocations: 226.3 kB / 0.5671 GB, free: 12.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005113/0.4169, allocations: 369.9 kB / 0.5675 GB, free: 11.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.018e-05/0.417, allocations: 45.7 kB / 0.5675 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.4172, allocations: 273.5 kB / 0.5678 GB, free: 11.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003546/0.4175, allocations: 420.3 kB / 0.5682 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/0.4178, allocations: 182.9 kB / 0.5683 GB, free: 10.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.418, allocations: 378.8 kB / 0.5687 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006938/0.4187, allocations: 326.4 kB / 0.569 GB, free: 10.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008396/0.4195, allocations: 0.5043 MB / 0.5695 GB, free: 9.566 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.4211, allocations: 0.8628 MB / 0.5703 GB, free: 8.633 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4211, allocations: 0 / 0.5703 GB, free: 8.633 MB / 414.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00193/0.423, allocations: 1.004 MB / 0.5713 GB, free: 7.625 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.4231, allocations: 12.88 kB / 0.5713 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.4231, allocations: 7.984 kB / 0.5713 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.031e-05/0.4231, allocations: 12.44 kB / 0.5714 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.4242, allocations: 283.6 kB / 0.5716 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.523e-05/0.4243, allocations: 13.42 kB / 0.5716 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005534/0.4248, allocations: 51.97 kB / 0.5717 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.538e-05/0.4249, allocations: 39.98 kB / 0.5717 GB, free: 7.215 MB / 414.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.0004159/0.4253, allocations: 234.1 kB / 0.5719 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002867/0.4256, allocations: 91.45 kB / 0.572 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005266/0.4261, allocations: 226.9 kB / 0.5722 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.4262, allocations: 12 kB / 0.5723 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/0.4262, allocations: 4 kB / 0.5723 GB, free: 6.645 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.4262, allocations: 3.984 kB / 0.5723 GB, free: 6.641 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004087/0.4303, allocations: 2.308 MB / 0.5745 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.4303, allocations: 4 kB / 0.5745 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/0.4315, allocations: 252 kB / 0.5748 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/0.4315, allocations: 8 kB / 0.5748 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.403e-05/0.4315, allocations: 27.92 kB / 0.5748 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-05/0.4315, allocations: 8 kB / 0.5748 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.4316, allocations: 7.938 kB / 0.5748 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00281/0.4344, allocations: 1.91 MB / 0.5767 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002928/0.4347, allocations: 119.5 kB / 0.5768 GB, free: 1.859 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.807e-05/0.4348, allocations: 27.94 kB / 0.5768 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006337/0.4354, allocations: 47.95 kB / 0.5769 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.4356, allocations: 88.39 kB / 0.577 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.505e-05/0.4356, allocations: 39.98 kB / 0.577 GB, free: 1.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002842/0.4359, allocations: 247.2 kB / 0.5772 GB, free: 1.418 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4359, allocations: 0 / 0.5772 GB, free: 1.418 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009281/0.4368, allocations: 196.1 kB / 0.5774 GB, free: 1.227 MB / 414.1 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.0002478/0.4371, allocations: 135 kB / 0.5775 GB, free: 1.086 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002025/0.4391, allocations: 0.805 MB / 0.5783 GB, free: 292 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4391, allocations: 4 kB / 0.5783 GB, free: 288 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009728/0.4401, allocations: 471.3 kB / 0.5788 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.4414, allocations: 134.9 kB / 0.5789 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/0.4453, allocations: 2.224 MB / 0.5811 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006713/0.4459, allocations: 0.9477 MB / 0.582 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004203/0.4464, allocations: 98.14 kB / 0.5821 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.4466, allocations: 63.42 kB / 0.5822 GB, free: 12.25 MB / 430.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4466, allocations: 0 / 0.5822 GB, free: 12.25 MB / 430.1 MB Notification: Performance of Templates: time 0.01665/0.4632, allocations: 8.034 MB / 0.59 GB, free: 4.277 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.700963613577187]