Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.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.00224/0.00224, allocations: 95.86 kB / 20.96 MB, free: 3.461 MB / 18.57 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.001995/0.001995, allocations: 149.1 kB / 24.26 MB, free: 172 kB / 18.57 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.524/1.524, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.186e-05/3.318e-05, allocations: 6.25 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.00534/0.005374, allocations: 3.461 MB / 270.8 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.007103, allocations: 0.8683 MB / 271.6 MB, free: 2.391 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001936/0.007297, allocations: 15.88 kB / 271.7 MB, free: 2.375 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.007516, allocations: 79.23 kB / 271.7 MB, free: 2.297 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003261/0.007842, allocations: 166.5 kB / 271.9 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004394/0.008281, allocations: 151.7 kB / 272 MB, free: 1.984 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007034/0.008984, allocations: 0.6187 MB / 272.7 MB, free: 1.363 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/0.009266, allocations: 130 kB / 272.8 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005125/0.009778, allocations: 359.3 kB / 273.1 MB, free: 0.875 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003327/0.01011, allocations: 207.4 kB / 273.3 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.394e-05/0.0102, allocations: 52 kB / 273.4 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.01031, allocations: 52 kB / 273.4 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.01046, allocations: 119.6 kB / 273.6 MB, free: 464 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002417/0.0107, allocations: 191.6 kB / 273.7 MB, free: 272 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00078/0.01148, allocations: 0.623 MB / 274.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.01149, allocations: 4 kB / 274.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.01149, allocations: 0 / 274.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.0115, allocations: 0 / 274.4 MB, free: 15.64 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001702/0.0132, allocations: 0.8774 MB / 275.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.01324, allocations: 8.922 kB / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.01341, allocations: 100.5 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004707/0.01388, allocations: 283.2 kB / 275.6 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.414e-05/0.01393, allocations: 37.38 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.98e-05/0.01402, allocations: 48.38 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008768/0.0149, allocations: 422.9 kB / 276.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/0.01493, allocations: 8.141 kB / 276.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.536e-05/0.01497, allocations: 20.38 kB / 276.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.01499, allocations: 15.94 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009504/0.01594, allocations: 403.8 kB / 276.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002801/0.01874, allocations: 1.305 MB / 277.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009777/0.01972, allocations: 0.4991 MB / 278.4 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008205/0.02054, allocations: 338.9 kB / 278.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.036e-05/0.0206, allocations: 12.66 kB / 278.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.02064, allocations: 45.98 kB / 278.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 2.384e-06/0.02064, allocations: 0 / 278.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=103): time 0.006125/0.02677, allocations: 2.769 MB / 281.5 MB, free: 8.289 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.02683, allocations: 64.41 kB / 281.6 MB, free: 8.215 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003705/0.0272, allocations: 332.3 kB / 281.9 MB, free: 7.871 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.392e-05/0.02725, allocations: 45.64 kB / 282 MB, free: 7.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.02747, allocations: 252.2 kB / 282.2 MB, free: 7.566 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003653/0.02784, allocations: 384.8 kB / 282.6 MB, free: 7.188 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002812/0.02812, allocations: 188.2 kB / 282.8 MB, free: 6.992 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003624/0.02848, allocations: 0.5664 MB / 283.3 MB, free: 6.414 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005493/0.02903, allocations: 245.9 kB / 283.6 MB, free: 6.176 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000681/0.02971, allocations: 361.9 kB / 283.9 MB, free: 5.812 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.03097, allocations: 0.6395 MB / 284.6 MB, free: 5.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.03097, allocations: 8 kB / 284.6 MB, free: 5.152 MB / 266.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001531/0.03251, allocations: 0.7823 MB / 285.4 MB, free: 4.367 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.03252, allocations: 4 kB / 285.4 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.03253, allocations: 0 / 285.4 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.03255, allocations: 4 kB / 285.4 MB, free: 4.359 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008021/0.03335, allocations: 199.8 kB / 285.6 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.03336, allocations: 7.938 kB / 285.6 MB, free: 4.156 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.03366, allocations: 39.98 kB / 285.6 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.549e-05/0.03371, allocations: 24 kB / 285.6 MB, free: 4.094 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (outerContactB.contact,outerContactA.contact,innerContactB.contact,innerContactA.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.0003005/0.03401, allocations: 244.4 kB / 285.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.03416, allocations: 83.67 kB / 286 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/0.03437, allocations: 73.36 kB / 286 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.03439, allocations: 19.92 kB / 286 MB, free: 3.668 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.03439, allocations: 0 / 286 MB, free: 3.668 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.0344, allocations: 7.922 kB / 286 MB, free: 3.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003437/0.03784, allocations: 1.974 MB / 288 MB, free: 1.559 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.03785, allocations: 4 kB / 288 MB, free: 1.555 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008311/0.03868, allocations: 199.7 kB / 288.2 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/0.03869, allocations: 8 kB / 288.2 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.667e-05/0.03875, allocations: 23.98 kB / 288.3 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.926e-05/0.03877, allocations: 19.94 kB / 288.3 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.03877, allocations: 4 kB / 288.3 MB, free: 1.305 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09785/0.1366, allocations: 1.456 MB / 289.7 MB, free: 31.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.1367, allocations: 49.58 kB / 289.8 MB, free: 31.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.1368, allocations: 23.45 kB / 289.8 MB, free: 31.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/0.1372, allocations: 34.44 kB / 289.8 MB, free: 31.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.1373, allocations: 82.28 kB / 289.9 MB, free: 31.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.936e-05/0.1374, allocations: 31.36 kB / 289.9 MB, free: 31.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001565/0.1376, allocations: 217.5 kB / 290.2 MB, free: 31.47 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1376, allocations: 0.8438 kB / 290.2 MB, free: 31.47 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005431/0.1381, allocations: 155.4 kB / 290.3 MB, free: 31.47 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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.0001452/0.1382, allocations: 133.6 kB / 290.4 MB, free: 31.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.1395, allocations: 0.728 MB / 291.2 MB, free: 31.37 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1395, allocations: 3.438 kB / 291.2 MB, free: 31.37 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006604/0.1402, allocations: 432.3 kB / 291.6 MB, free: 31.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007642/0.141, allocations: 132 kB / 291.7 MB, free: 31.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.1431, allocations: 1.471 MB / 293.2 MB, free: 30.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.1433, allocations: 269.1 kB / 293.5 MB, free: 30.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003027/0.1436, allocations: 76.53 kB / 293.5 MB, free: 30.47 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.1438, allocations: 61.34 kB / 293.6 MB, free: 30.46 MB / 266.7 MB Notification: Performance of SimCode: time 1.232e-06/0.1438, allocations: 0 / 293.6 MB, free: 30.46 MB / 266.7 MB Notification: Performance of Templates: time 0.01237/0.1562, allocations: 6.59 MB / 300.2 MB, free: 28.68 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.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: 4.642981747048907]