Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001444/0.001444, allocations: 105 kB / 20.44 MB, free: 1.504 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.001602/0.001602, allocations: 222.2 kB / 23.76 MB, free: 4.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.291/1.291, allocations: 207.6 MB / 234.5 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1998/0.1998, allocations: 44.24 MB / 331 MB, free: 9.527 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002168/0.002168, allocations: 67.84 kB / 468.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1093, allocations: 61.04 MB / 0.5174 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.00556/0.1148, allocations: 4.136 MB / 0.5214 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.1171, allocations: 1.122 MB / 0.5225 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004283/0.1175, allocations: 23.81 kB / 0.5225 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.1179, allocations: 98.95 kB / 0.5226 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005403/0.1184, allocations: 198.2 kB / 0.5228 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005718/0.119, allocations: 195.6 kB / 0.523 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009767/0.12, allocations: 0.7823 MB / 0.5237 GB, free: 272 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003278/0.1203, allocations: 168.1 kB / 0.5239 GB, free: 100 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004859/0.1208, allocations: 318.8 kB / 0.5242 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005248/0.1213, allocations: 342.5 kB / 0.5245 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.1214, allocations: 60 kB / 0.5246 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.1216, allocations: 87.92 kB / 0.5247 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.1218, allocations: 139.5 kB / 0.5248 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003828/0.1221, allocations: 350.2 kB / 0.5251 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008706/0.123, allocations: 0.7818 MB / 0.5259 GB, free: 14.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.123, allocations: 0 / 0.5259 GB, free: 14.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.123, allocations: 0 / 0.5259 GB, free: 14.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.153e-05/0.123, allocations: 0 / 0.5259 GB, free: 14.04 MB / 414.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.001989/0.125, allocations: 0.941 MB / 0.5268 GB, free: 13.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1251, allocations: 8.031 kB / 0.5268 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.1252, allocations: 80.47 kB / 0.5269 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005392/0.1258, allocations: 340.2 kB / 0.5272 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.082e-05/0.1258, allocations: 45.69 kB / 0.5273 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.1259, allocations: 64.33 kB / 0.5273 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.127, allocations: 0.6191 MB / 0.5279 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.007e-05/0.1271, allocations: 15.89 kB / 0.528 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.92e-05/0.1271, allocations: 20 kB / 0.528 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.1271, allocations: 20 kB / 0.528 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.1283, allocations: 0.5255 MB / 0.5285 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003236/0.1315, allocations: 2.103 MB / 0.5306 GB, free: 9.078 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.1328, allocations: 0.6716 MB / 0.5312 GB, free: 8.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006026/0.1334, allocations: 323 kB / 0.5315 GB, free: 8.004 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.1335, allocations: 24.72 kB / 0.5316 GB, free: 7.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/0.1336, allocations: 46.94 kB / 0.5316 GB, free: 7.926 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 2.204e-06/0.1336, allocations: 0 / 0.5316 GB, free: 7.926 MB / 414.1 MB Notification: Performance of matching and sorting (n=115): time 0.007683/0.1412, allocations: 3.951 MB / 0.5355 GB, free: 3.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.1414, allocations: 222.2 kB / 0.5357 GB, free: 3.504 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/0.1418, allocations: 365.9 kB / 0.536 GB, free: 3.141 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.1418, allocations: 41.7 kB / 0.5361 GB, free: 3.094 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.142, allocations: 269.5 kB / 0.5363 GB, free: 2.824 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/0.1423, allocations: 432.4 kB / 0.5367 GB, free: 2.398 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/0.1426, allocations: 179 kB / 0.5369 GB, free: 2.215 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.1428, allocations: 374.8 kB / 0.5373 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006431/0.1434, allocations: 322.4 kB / 0.5376 GB, free: 1.527 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007705/0.1442, allocations: 0.5082 MB / 0.5381 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.1456, allocations: 0.8667 MB / 0.5389 GB, free: 12 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.1457, allocations: 8 kB / 0.5389 GB, free: 4 kB / 414.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.1913/0.337, allocations: 1.001 MB / 0.5399 GB, free: 27.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.337, allocations: 12.73 kB / 0.5399 GB, free: 27.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.337, allocations: 4.438 kB / 0.5399 GB, free: 27.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/0.337, allocations: 12.75 kB / 0.5399 GB, free: 27.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009622/0.338, allocations: 281.6 kB / 0.5402 GB, free: 27.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.89e-05/0.338, allocations: 13.59 kB / 0.5402 GB, free: 27.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004202/0.3384, allocations: 51.12 kB / 0.5403 GB, free: 27.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-05/0.3385, allocations: 43.48 kB / 0.5403 GB, free: 27.74 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.0002571/0.3388, allocations: 231.2 kB / 0.5405 GB, free: 27.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.339, allocations: 76.75 kB / 0.5406 GB, free: 27.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003799/0.3393, allocations: 222.3 kB / 0.5408 GB, free: 27.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.3393, allocations: 12 kB / 0.5408 GB, free: 27.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.3394, allocations: 2.188 kB / 0.5408 GB, free: 27.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.3394, allocations: 8.328 kB / 0.5408 GB, free: 27.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003148/0.3425, allocations: 2.309 MB / 0.5431 GB, free: 26.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.3425, allocations: 3.609 kB / 0.5431 GB, free: 26.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009582/0.3435, allocations: 248.3 kB / 0.5433 GB, free: 26.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/0.3435, allocations: 8.25 kB / 0.5433 GB, free: 26.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.152e-05/0.3435, allocations: 25.42 kB / 0.5433 GB, free: 26.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.868e-06/0.3436, allocations: 11.58 kB / 0.5434 GB, free: 26.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3436, allocations: 6.812 kB / 0.5434 GB, free: 26.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.3457, allocations: 1.912 MB / 0.5452 GB, free: 25.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/0.3459, allocations: 124.5 kB / 0.5454 GB, free: 25.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-05/0.346, allocations: 26.98 kB / 0.5454 GB, free: 25.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005761/0.3466, allocations: 44.22 kB / 0.5454 GB, free: 25.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.3467, allocations: 91.92 kB / 0.5455 GB, free: 25.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.081e-05/0.3468, allocations: 36.05 kB / 0.5455 GB, free: 25.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002197/0.347, allocations: 250.9 kB / 0.5458 GB, free: 25.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.347, allocations: 2.531 kB / 0.5458 GB, free: 25.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007898/0.3478, allocations: 192.9 kB / 0.546 GB, free: 25.52 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.0001494/0.3479, allocations: 141.5 kB / 0.5461 GB, free: 25.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001435/0.3494, allocations: 0.8166 MB / 0.5469 GB, free: 25.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3494, allocations: 1.469 kB / 0.5469 GB, free: 25.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007526/0.3501, allocations: 469.4 kB / 0.5473 GB, free: 25.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.3513, allocations: 142.3 kB / 0.5475 GB, free: 25.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/0.3542, allocations: 2.243 MB / 0.5497 GB, free: 23.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.3546, allocations: 0.9485 MB / 0.5506 GB, free: 22.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.3548, allocations: 70.08 kB / 0.5507 GB, free: 22.87 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3548, allocations: 0 / 0.5507 GB, free: 22.87 MB / 414.1 MB Notification: Performance of Templates: time 0.01333/0.3681, allocations: 9.05 MB / 0.5595 GB, free: 21.17 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 7.485799320973456]