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.00135/0.001351, allocations: 109.9 kB / 17.74 MB, free: 5.23 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.001119/0.001119, allocations: 185.5 kB / 18.66 MB, free: 4.312 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.371/1.371, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 43.94 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3738, allocations: 49.42 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005008/0.3789, allocations: 3.552 MB / 404.9 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.3805, allocations: 0.8761 MB / 405.8 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.3807, allocations: 8 kB / 405.8 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.381, allocations: 83.16 kB / 405.9 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.3812, allocations: 142.7 kB / 406 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005213/0.3818, allocations: 163.6 kB / 406.2 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005861/0.3823, allocations: 0.588 MB / 406.8 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003269/0.3827, allocations: 185.5 kB / 407 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002834/0.383, allocations: 251.1 kB / 407.2 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002983/0.3833, allocations: 274.9 kB / 407.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.646e-05/0.3834, allocations: 48 kB / 407.5 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.05e-05/0.3835, allocations: 52 kB / 407.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.947e-05/0.3835, allocations: 119.6 kB / 407.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002178/0.3838, allocations: 270.7 kB / 408 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.3843, allocations: 0.5967 MB / 408.6 MB, free: 1.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3843, allocations: 0 / 408.6 MB, free: 1.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3843, allocations: 0 / 408.6 MB, free: 1.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.3844, allocations: 0 / 408.6 MB, free: 1.66 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.001576/0.3859, allocations: 0.838 MB / 409.4 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.386, allocations: 12.03 kB / 409.4 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.79e-05/0.3861, allocations: 60.27 kB / 409.5 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004396/0.3865, allocations: 331.2 kB / 409.8 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.3866, allocations: 37.38 kB / 409.8 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.773e-05/0.3867, allocations: 44.38 kB / 409.9 MB, free: 272 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000894/0.3876, allocations: 458.7 kB / 410.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.3876, allocations: 4 kB / 410.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.361e-05/0.3876, allocations: 16 kB / 410.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.3877, allocations: 12 kB / 410.4 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009683/0.3886, allocations: 459.6 kB / 410.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.3908, allocations: 1.378 MB / 412.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009242/0.3918, allocations: 0.5403 MB / 412.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007806/0.3926, allocations: 375.1 kB / 413.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.531e-05/0.3926, allocations: 12.55 kB / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.3926, allocations: 43.11 kB / 413.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 1.744e-06/0.3927, allocations: 4 kB / 413.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=103): time 0.006971/0.3996, allocations: 3.127 MB / 416.3 MB, free: 9.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.3997, allocations: 64.41 kB / 416.3 MB, free: 9.613 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.4, allocations: 262.9 kB / 416.6 MB, free: 9.352 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.309e-05/0.4, allocations: 37.7 kB / 416.6 MB, free: 9.309 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.4001, allocations: 201.2 kB / 416.8 MB, free: 9.109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/0.4004, allocations: 350.8 kB / 417.2 MB, free: 8.762 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.4006, allocations: 150.7 kB / 417.3 MB, free: 8.609 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.4007, allocations: 354.8 kB / 417.7 MB, free: 8.254 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005647/0.4013, allocations: 273.8 kB / 417.9 MB, free: 7.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006566/0.4019, allocations: 349.4 kB / 418.3 MB, free: 7.637 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.4031, allocations: 0.6196 MB / 418.9 MB, free: 7.012 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4032, allocations: 7.938 kB / 418.9 MB, free: 7.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001414/0.4046, allocations: 0.778 MB / 419.7 MB, free: 6.215 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.4046, allocations: 8.062 kB / 419.7 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.4046, allocations: 4 kB / 419.7 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.4047, allocations: 7.938 kB / 419.7 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008424/0.4055, allocations: 203.8 kB / 419.9 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.4055, allocations: 4 kB / 419.9 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000336/0.4059, allocations: 59.83 kB / 420 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/0.4059, allocations: 31.98 kB / 420 MB, free: 5.902 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.0002217/0.4062, allocations: 189.7 kB / 420.2 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.4063, allocations: 55.34 kB / 420.2 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/0.4065, allocations: 73.33 kB / 420.3 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.4065, allocations: 12 kB / 420.3 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/0.4065, allocations: 0 / 420.3 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.4065, allocations: 3.984 kB / 420.3 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0029/0.4094, allocations: 1.979 MB / 422.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.4094, allocations: 11.98 kB / 422.3 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007716/0.4102, allocations: 195.7 kB / 422.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.4102, allocations: 11.98 kB / 422.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.775e-05/0.4103, allocations: 32.47 kB / 422.5 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/0.4103, allocations: 15.94 kB / 422.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.4103, allocations: 7.984 kB / 422.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002128/0.4125, allocations: 1.365 MB / 423.9 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.4126, allocations: 132.5 kB / 424.1 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.242e-05/0.4127, allocations: 23.94 kB / 424.1 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.413, allocations: 47.95 kB / 424.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.4132, allocations: 76.8 kB / 424.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-05/0.4132, allocations: 31.98 kB / 424.2 MB, free: 1.434 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001903/0.4134, allocations: 182 kB / 424.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4135, allocations: 0 / 424.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004859/0.4139, allocations: 152 kB / 424.6 MB, free: 1.105 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.0001758/0.4141, allocations: 139 kB / 424.7 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.4155, allocations: 0.7309 MB / 425.4 MB, free: 236 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.4155, allocations: 8.062 kB / 425.4 MB, free: 228 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007256/0.4162, allocations: 442.6 kB / 425.9 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.0007596/0.417, allocations: 136.1 kB / 426 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.4193, allocations: 1.553 MB / 427.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.4197, allocations: 0.8684 MB / 428.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.4199, allocations: 63.42 kB / 428.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4199, allocations: 0 / 428.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of Templates: time 0.009934/0.4299, allocations: 7.34 MB / 435.8 MB, free: 5.711 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/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) Reference file matches