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.0008144/0.0008145, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.0009473/0.0009474, allocations: 184.2 kB / 17.57 MB, free: 6.199 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.369/1.369, allocations: 223.3 MB / 241.6 MB, free: 112 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002504/0.0002504, allocations: 4 kB / 301.4 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08831/0.08857, allocations: 50.41 MB / 351.8 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003532/0.09215, allocations: 3.168 MB / 355 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.09364, allocations: 0.8647 MB / 355.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.09383, allocations: 8 kB / 355.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.09401, allocations: 67.41 kB / 355.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.09428, allocations: 123 kB / 356 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.09469, allocations: 139.7 kB / 356.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005342/0.09523, allocations: 0.5646 MB / 356.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002878/0.09553, allocations: 154.4 kB / 356.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.09579, allocations: 207.1 kB / 357.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002877/0.09609, allocations: 250.9 kB / 357.3 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.553e-05/0.09615, allocations: 28 kB / 357.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.25e-05/0.09622, allocations: 24 kB / 357.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.076e-05/0.09631, allocations: 87.61 kB / 357.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.09655, allocations: 268.4 kB / 357.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005137/0.09707, allocations: 0.5605 MB / 358.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.09708, allocations: 0 / 358.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09709, allocations: 0 / 358.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.0971, allocations: 0 / 358.3 MB, free: 13.18 MB / 302.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.001589/0.0987, allocations: 0.7915 MB / 359.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.09876, allocations: 8.031 kB / 359.1 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.09887, allocations: 60.22 kB / 359.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.09925, allocations: 327.2 kB / 359.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/0.09931, allocations: 37.38 kB / 359.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.802e-05/0.0994, allocations: 48.38 kB / 359.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009743/0.1004, allocations: 474.6 kB / 360 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.1004, allocations: 7.906 kB / 360 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.105e-05/0.1005, allocations: 23.98 kB / 360.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.1005, allocations: 8 kB / 360.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.1016, allocations: 495.7 kB / 360.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.1039, allocations: 1.398 MB / 362 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009932/0.1049, allocations: 0.5636 MB / 362.5 MB, free: 8.812 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008062/0.1058, allocations: 383.8 kB / 362.9 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.061e-05/0.1058, allocations: 16.53 kB / 362.9 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.1059, allocations: 43.12 kB / 362.9 MB, free: 8.363 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 2.054e-06/0.1059, allocations: 0 / 362.9 MB, free: 8.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=103): time 0.007495/0.1134, allocations: 3.302 MB / 366.2 MB, free: 4.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.1134, allocations: 64.41 kB / 366.3 MB, free: 4.906 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.1137, allocations: 247 kB / 366.6 MB, free: 4.656 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.625e-05/0.1137, allocations: 45.7 kB / 366.6 MB, free: 4.605 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.1139, allocations: 197.2 kB / 366.8 MB, free: 4.406 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/0.1141, allocations: 346.9 kB / 367.1 MB, free: 4.062 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.4e-05/0.1142, allocations: 77.67 kB / 367.2 MB, free: 3.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1144, allocations: 362.8 kB / 367.6 MB, free: 3.617 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006007/0.115, allocations: 293.8 kB / 367.8 MB, free: 3.332 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006502/0.1156, allocations: 369.4 kB / 368.2 MB, free: 2.957 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.1169, allocations: 0.6624 MB / 368.9 MB, free: 2.289 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1169, allocations: 3.938 kB / 368.9 MB, free: 2.285 MB / 302.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00166/0.1186, allocations: 0.8211 MB / 369.7 MB, free: 1.457 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1186, allocations: 4 kB / 369.7 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.1186, allocations: 0 / 369.7 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.1186, allocations: 7.938 kB / 369.7 MB, free: 1.445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008009/0.1195, allocations: 219.7 kB / 369.9 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.1195, allocations: 7.984 kB / 369.9 MB, free: 1.223 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.1199, allocations: 55.97 kB / 370 MB, free: 1.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/0.1199, allocations: 31.98 kB / 370 MB, free: 1.137 MB / 302.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.0002528/0.1202, allocations: 197.6 kB / 370.2 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.852e-05/0.1203, allocations: 55.34 kB / 370.3 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.1205, allocations: 77.33 kB / 370.3 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.1205, allocations: 12 kB / 370.3 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.1205, allocations: 0 / 370.3 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.1205, allocations: 3.984 kB / 370.4 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.174/0.2945, allocations: 2.041 MB / 372.4 MB, free: 24.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.2945, allocations: 5.375 kB / 372.4 MB, free: 24.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008461/0.2954, allocations: 215.7 kB / 372.6 MB, free: 24.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-05/0.2954, allocations: 8.625 kB / 372.6 MB, free: 24.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.804e-05/0.2955, allocations: 29.72 kB / 372.6 MB, free: 24.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.615e-05/0.2955, allocations: 13.73 kB / 372.7 MB, free: 24.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.2955, allocations: 5.406 kB / 372.7 MB, free: 24.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/0.2978, allocations: 1.424 MB / 374.1 MB, free: 24.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.785e-05/0.2979, allocations: 122.3 kB / 374.2 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.811e-05/0.298, allocations: 27.59 kB / 374.2 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/0.2984, allocations: 64.28 kB / 374.3 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.2985, allocations: 74.91 kB / 374.4 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.897e-05/0.2986, allocations: 34.45 kB / 374.4 MB, free: 23.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001483/0.2987, allocations: 179.6 kB / 374.6 MB, free: 23.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2987, allocations: 0 / 374.6 MB, free: 23.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004982/0.2992, allocations: 155.4 kB / 374.7 MB, free: 23.87 MB / 302.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.0001233/0.2994, allocations: 131.9 kB / 374.9 MB, free: 23.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.3007, allocations: 0.7642 MB / 375.6 MB, free: 23.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3008, allocations: 1.375 kB / 375.6 MB, free: 23.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007487/0.3015, allocations: 465.3 kB / 376.1 MB, free: 23.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008784/0.3024, allocations: 111.8 kB / 376.2 MB, free: 23.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.3047, allocations: 1.914 MB / 378.1 MB, free: 22.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.305, allocations: 0.8677 MB / 379 MB, free: 21.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003247/0.3054, allocations: 78.14 kB / 379 MB, free: 21.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.3055, allocations: 59.52 kB / 379.1 MB, free: 21.47 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3056, allocations: 0 / 379.1 MB, free: 21.47 MB / 302.1 MB Notification: Performance of Templates: time 0.01102/0.3166, allocations: 6 MB / 385.1 MB, free: 20.25 MB / 302.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