Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.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.002584/0.002584, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.00304/0.00304, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 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.569/1.569, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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(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.1.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.1.0_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.298e-05/3.478e-05, allocations: 6.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005442/0.005477, allocations: 3.57 MB / 275.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002276/0.007754, allocations: 0.9353 MB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.008006, allocations: 11.94 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.00825, allocations: 87.09 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.008605, allocations: 170.4 kB / 277.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004829/0.009088, allocations: 167.6 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007271/0.009815, allocations: 0.642 MB / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003287/0.01014, allocations: 141.9 kB / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005762/0.01072, allocations: 379.2 kB / 278.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003511/0.01107, allocations: 211.4 kB / 278.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.901e-05/0.01116, allocations: 52 kB / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.0113, allocations: 60 kB / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.01143, allocations: 127.5 kB / 278.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.01167, allocations: 203.5 kB / 279 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008375/0.01251, allocations: 0.6424 MB / 279.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.01251, allocations: 3.984 kB / 279.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.01252, allocations: 0 / 279.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.01253, allocations: 3.938 kB / 279.7 MB, free: 10.43 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001721/0.01425, allocations: 0.8929 MB / 280.6 MB, free: 9.496 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.01428, allocations: 8.031 kB / 280.6 MB, free: 9.488 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/0.01456, allocations: 116.5 kB / 280.7 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004951/0.01505, allocations: 292.2 kB / 281 MB, free: 9.059 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.929e-05/0.0151, allocations: 37.38 kB / 281 MB, free: 9.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-05/0.01519, allocations: 59.88 kB / 281.1 MB, free: 8.961 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007507/0.01594, allocations: 406.4 kB / 281.5 MB, free: 8.559 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.01597, allocations: 3.984 kB / 281.5 MB, free: 8.555 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.01601, allocations: 20 kB / 281.5 MB, free: 8.535 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.01603, allocations: 12 kB / 281.5 MB, free: 8.523 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007395/0.01677, allocations: 375.8 kB / 281.9 MB, free: 8.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002574/0.01934, allocations: 1.309 MB / 283.2 MB, free: 6.801 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.02044, allocations: 0.4887 MB / 283.7 MB, free: 6.297 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000694/0.02113, allocations: 314.9 kB / 284 MB, free: 5.984 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.472e-05/0.02118, allocations: 12.66 kB / 284 MB, free: 5.973 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.02123, allocations: 46.05 kB / 284 MB, free: 5.918 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 2.324e-06/0.02123, allocations: 0 / 284 MB, free: 5.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=107): time 0.005568/0.0268, allocations: 2.742 MB / 286.8 MB, free: 3.125 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.02685, allocations: 64.41 kB / 286.8 MB, free: 3.051 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/0.02724, allocations: 354.3 kB / 287.2 MB, free: 2.688 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.047e-05/0.02729, allocations: 45.7 kB / 287.2 MB, free: 2.637 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.02749, allocations: 264.3 kB / 287.5 MB, free: 2.371 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003573/0.02785, allocations: 396.7 kB / 287.9 MB, free: 1.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002637/0.02811, allocations: 184.3 kB / 288.1 MB, free: 1.793 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003382/0.02845, allocations: 0.5626 MB / 288.6 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004599/0.02891, allocations: 233.9 kB / 288.9 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005471/0.02946, allocations: 345.9 kB / 289.2 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.03052, allocations: 0.6317 MB / 289.8 MB, free: 0 / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.03053, allocations: 1.094 kB / 289.8 MB, free: 27.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001678/0.03221, allocations: 0.7673 MB / 290.6 MB, free: 27.83 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.03223, allocations: 9.188 kB / 290.6 MB, free: 27.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.03224, allocations: 1.453 kB / 290.6 MB, free: 27.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.03227, allocations: 5.281 kB / 290.6 MB, free: 27.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.03345, allocations: 197.6 kB / 290.8 MB, free: 27.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.03347, allocations: 7.969 kB / 290.8 MB, free: 27.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004419/0.03391, allocations: 24.58 kB / 290.8 MB, free: 27.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.686e-05/0.03399, allocations: 30.34 kB / 290.9 MB, free: 27.83 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 (117): * Single equations (assignments): 117 * 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.0003069/0.0343, allocations: 244.7 kB / 291.1 MB, free: 27.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.0345, allocations: 92.62 kB / 291.2 MB, free: 27.67 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.03473, allocations: 81.12 kB / 291.3 MB, free: 27.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.03475, allocations: 10.25 kB / 291.3 MB, free: 27.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.03476, allocations: 1.531 kB / 291.3 MB, free: 27.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/0.03477, allocations: 6.625 kB / 291.3 MB, free: 27.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003991/0.03876, allocations: 1.966 MB / 293.3 MB, free: 26.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.03878, allocations: 9.906 kB / 293.3 MB, free: 26.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.03998, allocations: 194.5 kB / 293.5 MB, free: 26.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.537e-05/0.03999, allocations: 8.188 kB / 293.5 MB, free: 26.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-05/0.04006, allocations: 25.83 kB / 293.5 MB, free: 26.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.511e-05/0.04008, allocations: 10.02 kB / 293.5 MB, free: 26.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/0.04009, allocations: 13.75 kB / 293.5 MB, free: 26.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/0.04271, allocations: 1.424 MB / 294.9 MB, free: 25.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.04282, allocations: 56.89 kB / 295 MB, free: 25.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.04293, allocations: 28.33 kB / 295 MB, free: 25.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005245/0.04345, allocations: 24.7 kB / 295 MB, free: 25.92 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.04365, allocations: 82.47 kB / 295.1 MB, free: 25.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.089e-05/0.04373, allocations: 33.41 kB / 295.2 MB, free: 25.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002566/0.04398, allocations: 244.1 kB / 295.4 MB, free: 25.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.04398, allocations: 0 / 295.4 MB, free: 25.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008547/0.04484, allocations: 162.1 kB / 295.6 MB, free: 25.71 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 (107): * Single equations (assignments): 107 * 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.0001635/0.045, allocations: 133.9 kB / 295.7 MB, free: 25.6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001653/0.04666, allocations: 0.6889 MB / 296.4 MB, free: 25.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.04666, allocations: 1.375 kB / 296.4 MB, free: 25.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009054/0.04756, allocations: 424.7 kB / 296.8 MB, free: 25.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.04889, allocations: 149.6 kB / 296.9 MB, free: 25.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/0.05182, allocations: 1.5 MB / 298.4 MB, free: 24.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.05218, allocations: 280.7 kB / 298.7 MB, free: 24.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004637/0.05264, allocations: 80.81 kB / 298.8 MB, free: 24.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/0.05289, allocations: 63.56 kB / 298.8 MB, free: 24.11 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.0529, allocations: 0 / 298.8 MB, free: 24.11 MB / 266.7 MB Notification: Performance of Templates: time 0.01869/0.07159, allocations: 7.1 MB / 306 MB, free: 20.31 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.743849513004534]