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.0009618/0.0009618, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.0008974/0.0008974, allocations: 150.1 kB / 24.81 MB, free: 9.285 MB / 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 0.9575/0.9575, allocations: 173.4 MB / 201.4 MB, free: 9.195 MB / 186.7 MB " [Timeout remaining time 179] 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.523e-06/1.523e-06, allocations: 0 / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.731e-05, allocations: 6.25 kB / 268.4 MB, free: 6.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003175/0.003202, allocations: 3.446 MB / 271.8 MB, free: 2.727 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.004539, allocations: 0.8684 MB / 272.7 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002275/0.004767, allocations: 19.81 kB / 272.7 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.004942, allocations: 75.23 kB / 272.8 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.005201, allocations: 158.5 kB / 273 MB, free: 1.602 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.005566, allocations: 159.6 kB / 273.1 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004717/0.006037, allocations: 0.6187 MB / 273.7 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.006264, allocations: 130 kB / 273.9 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004348/0.006699, allocations: 363.2 kB / 274.2 MB, free: 340 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.006903, allocations: 203.4 kB / 274.4 MB, free: 136 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.774e-05/0.006961, allocations: 52 kB / 274.5 MB, free: 84 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.003e-05/0.007021, allocations: 52 kB / 274.5 MB, free: 32 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.508e-05/0.007096, allocations: 123.5 kB / 274.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.007225, allocations: 191.6 kB / 274.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000376/0.007601, allocations: 418.5 kB / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.007604, allocations: 0 / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.007604, allocations: 4 kB / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.00761, allocations: 0 / 275.2 MB, free: 15.31 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.0009197/0.00853, allocations: 0.8542 MB / 276.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.008566, allocations: 8.922 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.958e-05/0.008666, allocations: 96.56 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.008947, allocations: 267.3 kB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.008983, allocations: 41.31 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.009037, allocations: 52.38 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003834/0.00942, allocations: 311.7 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.009439, allocations: 16.11 kB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.009464, allocations: 16.38 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.009474, allocations: 11.94 kB / 276.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.00969, allocations: 190.8 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.01099, allocations: 1.091 MB / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.01134, allocations: 358.8 kB / 278.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.0116, allocations: 230 kB / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.01163, allocations: 12.66 kB / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.01166, allocations: 46.05 kB / 278.8 MB, free: 11.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 1.643e-06/0.01166, allocations: 0 / 278.8 MB, free: 11.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=103): time 0.002398/0.01406, allocations: 1.976 MB / 280.8 MB, free: 9.582 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.01409, allocations: 64.41 kB / 280.8 MB, free: 9.508 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.01424, allocations: 288.2 kB / 281.1 MB, free: 9.207 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.01427, allocations: 37.7 kB / 281.2 MB, free: 9.164 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.01437, allocations: 260.2 kB / 281.4 MB, free: 8.902 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.01454, allocations: 360.8 kB / 281.8 MB, free: 8.547 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.01468, allocations: 156.2 kB / 281.9 MB, free: 8.383 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.01482, allocations: 0.535 MB / 282.5 MB, free: 7.836 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.01495, allocations: 109.9 kB / 282.6 MB, free: 7.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.01513, allocations: 197.8 kB / 282.8 MB, free: 7.523 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.01556, allocations: 338.9 kB / 283.1 MB, free: 7.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01556, allocations: 0 / 283.1 MB, free: 7.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0004847/0.01605, allocations: 0.5167 MB / 283.6 MB, free: 6.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.01606, allocations: 18.59 kB / 283.6 MB, free: 6.645 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.01607, allocations: 0 / 283.6 MB, free: 6.645 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.01608, allocations: 8 kB / 283.6 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.01648, allocations: 199.7 kB / 283.8 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.01648, allocations: 4 kB / 283.8 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.0166, allocations: 35.98 kB / 283.9 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.01663, allocations: 16 kB / 283.9 MB, free: 6.387 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.0001381/0.01677, allocations: 208.3 kB / 284.1 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.739e-05/0.01685, allocations: 95.67 kB / 284.2 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.063e-05/0.01694, allocations: 69.38 kB / 284.2 MB, free: 6.008 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.01694, allocations: 8 kB / 284.3 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01694, allocations: 0 / 284.3 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.01695, allocations: 7.969 kB / 284.3 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.01832, allocations: 1.467 MB / 285.7 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.01832, allocations: 4 kB / 285.7 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003846/0.01871, allocations: 195.7 kB / 285.9 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.01871, allocations: 8.594 kB / 285.9 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.01874, allocations: 27.98 kB / 286 MB, free: 4.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.01875, allocations: 15.94 kB / 286 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/0.01876, allocations: 4 kB / 286 MB, free: 4.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008171/0.01957, allocations: 1.019 MB / 287 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.01962, allocations: 47.67 kB / 287 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.01966, allocations: 27.98 kB / 287.1 MB, free: 2.965 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.01982, allocations: 31.98 kB / 287.1 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.01989, allocations: 84.75 kB / 287.2 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.01992, allocations: 24 kB / 287.2 MB, free: 2.828 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.67e-05/0.02, allocations: 189.1 kB / 287.4 MB, free: 2.645 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02, allocations: 0 / 287.4 MB, free: 2.645 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003063/0.0203, allocations: 156 kB / 287.5 MB, free: 2.492 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.0001169/0.02042, allocations: 134.2 kB / 287.7 MB, free: 2.355 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004195/0.02084, allocations: 450 kB / 288.1 MB, free: 1.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.02084, allocations: 4.125 kB / 288.1 MB, free: 1.906 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.02107, allocations: 283.1 kB / 288.4 MB, free: 1.629 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.02155, allocations: 140.5 kB / 288.5 MB, free: 1.496 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.02306, allocations: 1.343 MB / 289.9 MB, free: 44 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.09368/0.1167, allocations: 137.8 kB / 290 MB, free: 30.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003516/0.1171, allocations: 72.8 kB / 290.1 MB, free: 30.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/0.1174, allocations: 208.1 kB / 290.3 MB, free: 30.02 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1174, allocations: 3.375 kB / 290.3 MB, free: 30.02 MB / 266.7 MB Notification: Performance of Templates: time 0.01399/0.1314, allocations: 7.265 MB / 297.6 MB, free: 28.65 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7203543400391936]