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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 69.64 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 160.9 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 177.2 MB / 204.9 MB, free: 9.012 MB / 190.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.2116/0.2116, allocations: 32.81 MB / 294.1 MB, free: 20 kB / 270.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002415/0.002415, allocations: 63.91 kB / 440.6 MB, free: 9.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3513, allocations: 65.45 MB / 0.4941 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004374/0.3556, allocations: 3.767 MB / 0.4978 GB, free: 28.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002202/0.3578, allocations: 1.142 MB / 0.4989 GB, free: 28.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000546/0.3584, allocations: 17.56 kB / 0.499 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003597/0.3588, allocations: 104.2 kB / 0.4991 GB, free: 28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006519/0.3594, allocations: 211 kB / 0.4993 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006852/0.3601, allocations: 227 kB / 0.4995 GB, free: 27.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008577/0.3609, allocations: 0.799 MB / 0.5002 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003649/0.3613, allocations: 159 kB / 0.5004 GB, free: 27.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005344/0.3618, allocations: 330.1 kB / 0.5007 GB, free: 27.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005181/0.3624, allocations: 312.3 kB / 0.501 GB, free: 26.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.3625, allocations: 60.38 kB / 0.5011 GB, free: 26.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.3628, allocations: 94.89 kB / 0.5012 GB, free: 26.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.3629, allocations: 149.4 kB / 0.5013 GB, free: 26.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000324/0.3633, allocations: 297.8 kB / 0.5016 GB, free: 26.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007038/0.364, allocations: 0.7906 MB / 0.5024 GB, free: 26.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.364, allocations: 0 / 0.5024 GB, free: 26.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.364, allocations: 0 / 0.5024 GB, free: 26.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.608e-05/0.364, allocations: 0 / 0.5024 GB, free: 26.38 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.00183/0.3658, allocations: 0.9574 MB / 0.5033 GB, free: 25.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.3659, allocations: 8.406 kB / 0.5033 GB, free: 25.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006694/0.3665, allocations: 146.3 kB / 0.5034 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005523/0.3671, allocations: 360.8 kB / 0.5038 GB, free: 25.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.3671, allocations: 48.41 kB / 0.5038 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.6e-05/0.3672, allocations: 73.08 kB / 0.5039 GB, free: 25.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009874/0.3682, allocations: 0.6154 MB / 0.5045 GB, free: 25.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.506e-05/0.3683, allocations: 21.14 kB / 0.5045 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.588e-05/0.3683, allocations: 18.94 kB / 0.5045 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.3683, allocations: 15.47 kB / 0.5046 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.3693, allocations: 0.5043 MB / 0.505 GB, free: 24.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002519/0.3718, allocations: 1.918 MB / 0.5069 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.3729, allocations: 0.6564 MB / 0.5076 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005188/0.3734, allocations: 320 kB / 0.5079 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.3735, allocations: 16.48 kB / 0.5079 GB, free: 23.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.3736, allocations: 55.44 kB / 0.5079 GB, free: 23.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=83): time 2.806e-06/0.3736, allocations: 0 / 0.5079 GB, free: 23.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.006914/0.3805, allocations: 3.952 MB / 0.5118 GB, free: 20.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.3805, allocations: 225.1 kB / 0.512 GB, free: 20.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00044/0.381, allocations: 397.2 kB / 0.5124 GB, free: 20.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.003e-05/0.381, allocations: 45.17 kB / 0.5124 GB, free: 20.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.3812, allocations: 277.9 kB / 0.5127 GB, free: 20.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.3814, allocations: 435.2 kB / 0.5131 GB, free: 19.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.3816, allocations: 178.2 kB / 0.5133 GB, free: 19.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.388e-05/0.3817, allocations: 386.8 kB / 0.5137 GB, free: 19.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006169/0.3823, allocations: 308.6 kB / 0.5139 GB, free: 19.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007026/0.383, allocations: 0.4972 MB / 0.5144 GB, free: 18.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.3844, allocations: 0.8615 MB / 0.5153 GB, free: 18.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.3844, allocations: 1.281 kB / 0.5153 GB, free: 18.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001821/0.3862, allocations: 0.9954 MB / 0.5162 GB, free: 17.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.3862, allocations: 15.31 kB / 0.5163 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.3862, allocations: 4.531 kB / 0.5163 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.813e-05/0.3863, allocations: 10.12 kB / 0.5163 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.3873, allocations: 280.9 kB / 0.5165 GB, free: 17.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.501e-05/0.3873, allocations: 17.44 kB / 0.5166 GB, free: 17.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004978/0.3878, allocations: 42.33 kB / 0.5166 GB, free: 17.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.053e-05/0.3879, allocations: 37.97 kB / 0.5166 GB, free: 17.89 MB / 446.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 (145): * Single equations (assignments): 145 * 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.0002997/0.3882, allocations: 238.4 kB / 0.5169 GB, free: 17.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/0.3885, allocations: 89.58 kB / 0.5169 GB, free: 17.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004216/0.3889, allocations: 214.7 kB / 0.5172 GB, free: 17.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.3889, allocations: 16.84 kB / 0.5172 GB, free: 17.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.947e-05/0.3889, allocations: 2.562 kB / 0.5172 GB, free: 17.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.3889, allocations: 7.438 kB / 0.5172 GB, free: 17.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003607/0.3925, allocations: 2.058 MB / 0.5192 GB, free: 16.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.3926, allocations: 3.375 kB / 0.5192 GB, free: 16.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/0.3937, allocations: 245.1 kB / 0.5194 GB, free: 16.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.153e-05/0.3937, allocations: 8.234 kB / 0.5194 GB, free: 16.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.977e-05/0.3938, allocations: 29.92 kB / 0.5195 GB, free: 16.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.381e-05/0.3938, allocations: 20.03 kB / 0.5195 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.3938, allocations: 4.625 kB / 0.5195 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002529/0.3963, allocations: 1.88 MB / 0.5213 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003486/0.3967, allocations: 128.6 kB / 0.5214 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.3968, allocations: 32.06 kB / 0.5215 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006489/0.3974, allocations: 38.2 kB / 0.5215 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.3976, allocations: 91.33 kB / 0.5216 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.403e-05/0.3977, allocations: 36.8 kB / 0.5216 GB, free: 15.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002812/0.3979, allocations: 270.3 kB / 0.5219 GB, free: 14.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3979, allocations: 0 / 0.5219 GB, free: 14.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000969/0.3989, allocations: 194.5 kB / 0.5221 GB, free: 14.86 MB / 446.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 (116): * Single equations (assignments): 116 * 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.0001737/0.3991, allocations: 143.2 kB / 0.5222 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001681/0.4008, allocations: 0.7933 MB / 0.523 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4008, allocations: 1.125 kB / 0.523 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008369/0.4016, allocations: 461.5 kB / 0.5234 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.4029, allocations: 149.1 kB / 0.5236 GB, free: 14.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003348/0.4063, allocations: 2.206 MB / 0.5257 GB, free: 12.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.4068, allocations: 366.5 kB / 0.5261 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004798/0.4073, allocations: 103.1 kB / 0.5262 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.4075, allocations: 63.84 kB / 0.5262 GB, free: 12.66 MB / 446.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4075, allocations: 0 / 0.5262 GB, free: 12.66 MB / 446.1 MB Notification: Performance of Templates: time 0.01672/0.4242, allocations: 7.347 MB / 0.5334 GB, free: 11.74 MB / 446.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 -s ida -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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.394061267958023]