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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 111.5 kB / 17.06 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 43.92 kB / 351.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2717, allocations: 49.43 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.00457/0.2763, allocations: 3.544 MB / 404.3 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.2777, allocations: 0.8723 MB / 405.1 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.2779, allocations: 15.94 kB / 405.1 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.2781, allocations: 83.16 kB / 405.2 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.2783, allocations: 146.7 kB / 405.4 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003767/0.2787, allocations: 155.7 kB / 405.5 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004744/0.2792, allocations: 0.5841 MB / 406.1 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002814/0.2795, allocations: 197.5 kB / 406.3 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.2798, allocations: 247.1 kB / 406.5 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.28, allocations: 266.9 kB / 406.8 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.679e-05/0.2801, allocations: 52 kB / 406.8 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.397e-05/0.2802, allocations: 56 kB / 406.9 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.2803, allocations: 119.6 kB / 407 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002983/0.2806, allocations: 266.7 kB / 407.3 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005164/0.2811, allocations: 0.5967 MB / 407.9 MB, free: 1.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2811, allocations: 0 / 407.9 MB, free: 1.676 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2812, allocations: 0 / 407.9 MB, free: 1.676 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.2812, allocations: 0 / 407.9 MB, free: 1.676 MB / 318.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.001404/0.2826, allocations: 0.8528 MB / 408.7 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2826, allocations: 8.031 kB / 408.7 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.432e-05/0.2827, allocations: 56.28 kB / 408.8 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.2831, allocations: 331.2 kB / 409.1 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.851e-05/0.2831, allocations: 41.38 kB / 409.2 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.103e-05/0.2832, allocations: 48.38 kB / 409.2 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008199/0.2841, allocations: 454.7 kB / 409.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.2841, allocations: 0 / 409.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.236e-05/0.2841, allocations: 20 kB / 409.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.2842, allocations: 12 kB / 409.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009474/0.2851, allocations: 463.6 kB / 410.1 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/0.2872, allocations: 1.37 MB / 411.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008648/0.2881, allocations: 0.5465 MB / 412 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007128/0.2888, allocations: 375.7 kB / 412.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.427e-05/0.2889, allocations: 8.562 kB / 412.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.2889, allocations: 35.12 kB / 412.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 1.553e-06/0.2889, allocations: 0 / 412.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=103): time 0.006539/0.2955, allocations: 3.139 MB / 415.6 MB, free: 9.699 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.2955, allocations: 64.41 kB / 415.7 MB, free: 9.625 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.2958, allocations: 258.8 kB / 415.9 MB, free: 9.367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.2958, allocations: 41.7 kB / 416 MB, free: 9.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.296, allocations: 197.3 kB / 416.1 MB, free: 9.125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.2962, allocations: 350.8 kB / 416.5 MB, free: 8.777 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.2964, allocations: 146.6 kB / 416.6 MB, free: 8.629 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2965, allocations: 366.8 kB / 417 MB, free: 8.262 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005247/0.297, allocations: 265.9 kB / 417.3 MB, free: 8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005707/0.2976, allocations: 349.4 kB / 417.6 MB, free: 7.652 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.2987, allocations: 0.6156 MB / 418.2 MB, free: 7.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.2987, allocations: 7.938 kB / 418.2 MB, free: 7.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001334/0.3, allocations: 0.7819 MB / 419 MB, free: 6.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3001, allocations: 8 kB / 419 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.3001, allocations: 0 / 419 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.3001, allocations: 11.94 kB / 419 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007408/0.3009, allocations: 211.8 kB / 419.2 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.3009, allocations: 4 kB / 419.2 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/0.3012, allocations: 47.89 kB / 419.3 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.792e-05/0.3013, allocations: 28 kB / 419.3 MB, free: 5.926 MB / 334.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.0002295/0.3015, allocations: 189.7 kB / 419.5 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.397e-05/0.3016, allocations: 59.34 kB / 419.5 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.3017, allocations: 77.33 kB / 419.6 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.3017, allocations: 8 kB / 419.6 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.3018, allocations: 4 kB / 419.6 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.3018, allocations: 3.984 kB / 419.6 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/0.3045, allocations: 1.98 MB / 421.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.3045, allocations: 4 kB / 421.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007364/0.3053, allocations: 203.7 kB / 421.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.546e-05/0.3053, allocations: 12 kB / 421.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.971e-05/0.3053, allocations: 27.92 kB / 421.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.227e-06/0.3054, allocations: 11.94 kB / 421.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.3054, allocations: 12 kB / 421.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/0.3074, allocations: 1.373 MB / 423.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.972e-05/0.3075, allocations: 128.4 kB / 423.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.855e-05/0.3076, allocations: 32 kB / 423.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.308, allocations: 43.95 kB / 423.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.3081, allocations: 72.8 kB / 423.5 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/0.3082, allocations: 35.98 kB / 423.6 MB, free: 1.445 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.3083, allocations: 178 kB / 423.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3083, allocations: 0 / 423.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004825/0.3088, allocations: 152 kB / 423.9 MB, free: 1.121 MB / 334.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.0001545/0.309, allocations: 138.4 kB / 424 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.3103, allocations: 0.7347 MB / 424.8 MB, free: 252 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.3103, allocations: 7.938 kB / 424.8 MB, free: 244 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000723/0.3111, allocations: 449.7 kB / 425.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006909/0.3118, allocations: 121.7 kB / 425.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.3141, allocations: 1.528 MB / 426.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.3145, allocations: 0.8684 MB / 427.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002775/0.3148, allocations: 76.98 kB / 427.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.315, allocations: 59.41 kB / 427.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.315, allocations: 0 / 427.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of Templates: time 0.01251/0.3275, allocations: 6.675 MB / 434.5 MB, free: 6.414 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (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) 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) Reference file matches