Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00122/0.00122, allocations: 113 kB / 21.17 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001335, allocations: 219.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.389/1.389, allocations: 230.4 MB / 258.1 MB, free: 8.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.84 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2628, allocations: 53.32 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005208/0.268, allocations: 3.696 MB / 435.7 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.27, allocations: 0.951 MB / 436.7 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.2702, allocations: 8 kB / 436.7 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.2705, allocations: 87.09 kB / 436.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.2708, allocations: 162.5 kB / 436.9 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004863/0.2713, allocations: 159.7 kB / 437.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000699/0.272, allocations: 0.6306 MB / 437.7 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/0.2722, allocations: 141.5 kB / 437.9 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003801/0.2726, allocations: 263.1 kB / 438.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003725/0.273, allocations: 278.8 kB / 438.4 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.798e-05/0.2731, allocations: 52 kB / 438.4 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.2732, allocations: 60 kB / 438.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.2733, allocations: 119.6 kB / 438.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002699/0.2736, allocations: 286.5 kB / 438.9 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007309/0.2743, allocations: 0.6278 MB / 439.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2743, allocations: 7.922 kB / 439.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2743, allocations: 0 / 439.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.2743, allocations: 0 / 439.5 MB, free: 15.87 MB / 350.1 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.001594/0.2759, allocations: 0.8451 MB / 440.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.276, allocations: 12.03 kB / 440.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002215/0.2762, allocations: 72.55 kB / 440.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005625/0.2767, allocations: 354.8 kB / 440.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/0.2768, allocations: 37 kB / 440.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-05/0.2769, allocations: 55.95 kB / 440.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007627/0.2776, allocations: 418.4 kB / 441.3 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.2777, allocations: 4 kB / 441.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.644e-05/0.2777, allocations: 20 kB / 441.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.2777, allocations: 12 kB / 441.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007224/0.2784, allocations: 387.8 kB / 441.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00244/0.2809, allocations: 1.383 MB / 443.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008069/0.2817, allocations: 479.2 kB / 443.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006732/0.2824, allocations: 316 kB / 443.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.469e-05/0.2824, allocations: 8.656 kB / 443.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.2825, allocations: 39.22 kB / 443.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.023e-06/0.2825, allocations: 0 / 443.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006723/0.2892, allocations: 3.03 MB / 447 MB, free: 8.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.2892, allocations: 64.41 kB / 447 MB, free: 8.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.2896, allocations: 276.6 kB / 447.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.199e-05/0.2896, allocations: 41.7 kB / 447.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.2898, allocations: 205.6 kB / 447.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003034/0.2901, allocations: 384.6 kB / 447.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.2903, allocations: 150.7 kB / 448.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.2905, allocations: 366.8 kB / 448.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004394/0.2909, allocations: 237.9 kB / 448.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005017/0.2914, allocations: 313.4 kB / 448.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.2924, allocations: 0.5805 MB / 449.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2924, allocations: 3.938 kB / 449.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001226/0.2937, allocations: 0.7354 MB / 450.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.2937, allocations: 4 kB / 450.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2937, allocations: 0 / 450.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.2937, allocations: 4 kB / 450.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007461/0.2945, allocations: 199.7 kB / 450.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.2945, allocations: 7.938 kB / 450.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.2948, allocations: 36.05 kB / 450.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.378e-05/0.2948, allocations: 31.98 kB / 450.5 MB, free: 4.523 MB / 350.1 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.0002543/0.2951, allocations: 197.6 kB / 450.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.2952, allocations: 63.61 kB / 450.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.2953, allocations: 73.62 kB / 450.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.2954, allocations: 8 kB / 450.9 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.2954, allocations: 4 kB / 450.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.2954, allocations: 7.984 kB / 450.9 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002936/0.2983, allocations: 1.945 MB / 452.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.2983, allocations: 7.984 kB / 452.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007416/0.2991, allocations: 191.7 kB / 453 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.916e-05/0.2991, allocations: 12 kB / 453 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.765e-05/0.2991, allocations: 23.98 kB / 453.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.682e-05/0.2991, allocations: 15.94 kB / 453.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.2992, allocations: 4 kB / 453.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.3011, allocations: 1.299 MB / 454.4 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.3012, allocations: 136.8 kB / 454.5 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.549e-05/0.3013, allocations: 20 kB / 454.5 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.3016, allocations: 31.98 kB / 454.6 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.3017, allocations: 80.78 kB / 454.6 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/0.3018, allocations: 35.98 kB / 454.7 MB, free: 168 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002268/0.302, allocations: 195.2 kB / 454.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.302, allocations: 0 / 454.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005308/0.3026, allocations: 160 kB / 455 MB, free: 15.82 MB / 366.1 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.0001744/0.3027, allocations: 133.6 kB / 455.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.3039, allocations: 0.6333 MB / 455.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3039, allocations: 0 / 455.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006303/0.3045, allocations: 382.6 kB / 456.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008358/0.3054, allocations: 152.8 kB / 456.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.308, allocations: 1.591 MB / 457.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005672/0.3085, allocations: 0.8764 MB / 458.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/0.3088, allocations: 71.41 kB / 458.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3088, allocations: 0 / 458.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of Templates: time 0.0121/0.3209, allocations: 7.704 MB / 466.6 MB, free: 4.188 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.350565908011049]