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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 104.6 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 197.5 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 251.4 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] 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 0.00147/0.00147, allocations: 51.91 kB / 369.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2582, allocations: 52.14 MB / 421.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004954/0.2632, allocations: 3.553 MB / 424.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.2648, allocations: 0.8839 MB / 425.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.265, allocations: 11.94 kB / 425.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.2653, allocations: 83.16 kB / 425.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.2655, allocations: 146.7 kB / 426 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.266, allocations: 151.7 kB / 426.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006112/0.2666, allocations: 0.5957 MB / 426.7 MB, free: 9.766 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002712/0.2669, allocations: 141.5 kB / 426.8 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.2672, allocations: 247.2 kB / 427.1 MB, free: 9.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003209/0.2675, allocations: 270.9 kB / 427.3 MB, free: 9.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.393e-05/0.2676, allocations: 52 kB / 427.4 MB, free: 9.059 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.183e-05/0.2677, allocations: 52 kB / 427.4 MB, free: 9.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.2678, allocations: 119.6 kB / 427.6 MB, free: 8.891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00028/0.2681, allocations: 266.7 kB / 427.8 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006439/0.2687, allocations: 0.6042 MB / 428.4 MB, free: 8.031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2687, allocations: 4 kB / 428.4 MB, free: 8.027 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2687, allocations: 0 / 428.4 MB, free: 8.027 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.2687, allocations: 0 / 428.4 MB, free: 8.027 MB / 334.1 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.001671/0.2704, allocations: 0.8531 MB / 429.3 MB, free: 7.125 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2704, allocations: 16.02 kB / 429.3 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.2705, allocations: 56.61 kB / 429.4 MB, free: 7.055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004991/0.271, allocations: 339.4 kB / 429.7 MB, free: 6.688 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.772e-05/0.2711, allocations: 41.31 kB / 429.7 MB, free: 6.648 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.2e-05/0.2712, allocations: 52.33 kB / 429.8 MB, free: 6.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009502/0.2721, allocations: 450.7 kB / 430.2 MB, free: 6.148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.2721, allocations: 8 kB / 430.2 MB, free: 6.141 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/0.2722, allocations: 16 kB / 430.2 MB, free: 6.125 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.2722, allocations: 16 kB / 430.3 MB, free: 6.109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.2732, allocations: 455.7 kB / 430.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002374/0.2756, allocations: 1.367 MB / 432.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009908/0.2766, allocations: 0.5087 MB / 432.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007961/0.2774, allocations: 347.7 kB / 432.9 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/0.2774, allocations: 8.562 kB / 432.9 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.2775, allocations: 47.11 kB / 433 MB, free: 3.312 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 1.813e-06/0.2775, allocations: 0 / 433 MB, free: 3.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=103): time 0.00742/0.2849, allocations: 3.151 MB / 436.1 MB, free: 84 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.285, allocations: 60.41 kB / 436.2 MB, free: 12 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/0.2853, allocations: 255 kB / 436.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.992e-05/0.2853, allocations: 41.7 kB / 436.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.2854, allocations: 193.6 kB / 436.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/0.2857, allocations: 376.8 kB / 437 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.2859, allocations: 142.7 kB / 437.2 MB, free: 15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.2861, allocations: 358.8 kB / 437.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006091/0.2867, allocations: 273.8 kB / 437.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006647/0.2874, allocations: 349.4 kB / 438.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.2887, allocations: 0.6273 MB / 438.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2887, allocations: 0 / 438.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001543/0.2902, allocations: 0.7823 MB / 439.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.2902, allocations: 4 kB / 439.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.2902, allocations: 0 / 439.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.2903, allocations: 7.938 kB / 439.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008172/0.2911, allocations: 211.7 kB / 439.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.2911, allocations: 7.984 kB / 439.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003563/0.2914, allocations: 47.97 kB / 439.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/0.2915, allocations: 35.92 kB / 439.8 MB, free: 12.29 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 (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.000269/0.2918, allocations: 193.6 kB / 440 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.639e-05/0.2919, allocations: 55.67 kB / 440.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.292, allocations: 77.33 kB / 440.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.2921, allocations: 12 kB / 440.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.2921, allocations: 0 / 440.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.2921, allocations: 3.984 kB / 440.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0032/0.2953, allocations: 1.987 MB / 442.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.515e-06/0.2953, allocations: 7.938 kB / 442.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000838/0.2961, allocations: 203.7 kB / 442.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.584e-05/0.2961, allocations: 12.58 kB / 442.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.983e-05/0.2962, allocations: 31.94 kB / 442.4 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.237e-05/0.2962, allocations: 11.98 kB / 442.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/0.2962, allocations: 15.94 kB / 442.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/0.2985, allocations: 1.365 MB / 443.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.2987, allocations: 128.8 kB / 443.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.358e-05/0.2987, allocations: 27.94 kB / 444 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004027/0.2991, allocations: 47.95 kB / 444 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.2993, allocations: 76.8 kB / 444.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.847e-05/0.2993, allocations: 31.98 kB / 444.1 MB, free: 7.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001901/0.2995, allocations: 178 kB / 444.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2995, allocations: 0 / 444.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005207/0.3, allocations: 156 kB / 444.4 MB, free: 7.473 MB / 350.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 (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.0001717/0.3002, allocations: 139 kB / 444.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.3017, allocations: 0.6879 MB / 445.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.3017, allocations: 4 kB / 445.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007898/0.3025, allocations: 418.6 kB / 445.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007705/0.3032, allocations: 123.9 kB / 445.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/0.3059, allocations: 1.575 MB / 447.4 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004976/0.3064, allocations: 0.8684 MB / 448.2 MB, free: 3.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.3066, allocations: 63.41 kB / 448.3 MB, free: 3.48 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3066, allocations: 0 / 448.3 MB, free: 3.48 MB / 350.1 MB Notification: Performance of Templates: time 0.01112/0.3178, allocations: 7.354 MB / 455.7 MB, free: 12.12 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/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