Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001392/0.001392, allocations: 109.4 kB / 18.4 MB, free: 4.703 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.001373/0.001373, allocations: 193.2 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 47.94 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.091/0.09235, allocations: 46.61 MB / 375.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004955/0.09736, allocations: 3.521 MB / 379.3 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.09927, allocations: 0.9081 MB / 380.2 MB, free: 144 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004595/0.09976, allocations: 11.94 kB / 380.2 MB, free: 132 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.1001, allocations: 75.23 kB / 380.3 MB, free: 56 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1975/0.2976, allocations: 145.7 kB / 380.5 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008246/0.2985, allocations: 153.5 kB / 380.6 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001061/0.2996, allocations: 0.5923 MB / 381.2 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000444/0.3, allocations: 194.5 kB / 381.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004997/0.3005, allocations: 249 kB / 381.6 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000324/0.3009, allocations: 274.4 kB / 381.9 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.843e-05/0.301, allocations: 54 kB / 382 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.948e-05/0.3011, allocations: 51.16 kB / 382 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.3012, allocations: 116.6 kB / 382.1 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002656/0.3014, allocations: 271.9 kB / 382.4 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008309/0.3023, allocations: 0.5942 MB / 383 MB, free: 9.426 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3023, allocations: 0.5 kB / 383 MB, free: 9.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3023, allocations: 0.5312 kB / 383 MB, free: 9.426 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.3023, allocations: 0 / 383 MB, free: 9.426 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.001679/0.304, allocations: 0.8554 MB / 383.8 MB, free: 8.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.3041, allocations: 10.09 kB / 383.8 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.3042, allocations: 56.5 kB / 383.9 MB, free: 8.883 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.3046, allocations: 325.6 kB / 384.2 MB, free: 8.648 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/0.3047, allocations: 36.34 kB / 384.3 MB, free: 8.645 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.771e-05/0.3048, allocations: 46.39 kB / 384.3 MB, free: 8.645 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008747/0.3056, allocations: 454.5 kB / 384.7 MB, free: 8.598 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.3057, allocations: 10.06 kB / 384.8 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.284e-05/0.3057, allocations: 22.95 kB / 384.8 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.3057, allocations: 10.78 kB / 384.8 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009915/0.3067, allocations: 456.5 kB / 385.2 MB, free: 8.551 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002149/0.3089, allocations: 1.382 MB / 386.6 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008971/0.3098, allocations: 0.5409 MB / 387.2 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007598/0.3106, allocations: 374.8 kB / 387.5 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.564e-05/0.3106, allocations: 11.94 kB / 387.5 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.3107, allocations: 43 kB / 387.6 MB, free: 7.398 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.315e-06/0.3107, allocations: 0 / 387.6 MB, free: 7.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=103): time 0.006947/0.3176, allocations: 3.136 MB / 390.7 MB, free: 5.992 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.3177, allocations: 62.61 kB / 390.8 MB, free: 5.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.318, allocations: 251.8 kB / 391 MB, free: 5.785 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.19e-05/0.318, allocations: 41.55 kB / 391.1 MB, free: 5.742 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.887e-05/0.3181, allocations: 197.6 kB / 391.3 MB, free: 5.578 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.3183, allocations: 348.5 kB / 391.6 MB, free: 5.309 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.3185, allocations: 145.9 kB / 391.7 MB, free: 5.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.434e-05/0.3186, allocations: 360 kB / 392.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005158/0.3191, allocations: 278.7 kB / 392.4 MB, free: 4.809 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005703/0.3197, allocations: 346.7 kB / 392.7 MB, free: 4.676 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.3209, allocations: 0.6243 MB / 393.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.3209, allocations: 0 / 393.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001444/0.3223, allocations: 0.784 MB / 394.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.3224, allocations: 5.375 kB / 394.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3224, allocations: 2.469 kB / 394.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.3224, allocations: 12.45 kB / 394.1 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007831/0.3232, allocations: 209.5 kB / 394.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.3232, allocations: 5.703 kB / 394.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003719/0.3236, allocations: 47.05 kB / 394.4 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/0.3237, allocations: 30.58 kB / 394.4 MB, free: 4.055 MB / 318.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.0002213/0.3239, allocations: 187.4 kB / 394.6 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.162e-05/0.324, allocations: 55.22 kB / 394.6 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.3241, allocations: 76.05 kB / 394.7 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.3242, allocations: 15.09 kB / 394.7 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.915e-05/0.3242, allocations: 0 / 394.7 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.3242, allocations: 6.031 kB / 394.7 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/0.3271, allocations: 1.981 MB / 396.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.3271, allocations: 7.688 kB / 396.7 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007703/0.3279, allocations: 204.5 kB / 396.9 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/0.3279, allocations: 12.38 kB / 396.9 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-05/0.328, allocations: 24.62 kB / 397 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-05/0.328, allocations: 16.69 kB / 397 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.328, allocations: 6.016 kB / 397 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/0.3301, allocations: 1.376 MB / 398.4 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.3302, allocations: 125.2 kB / 398.5 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.855e-05/0.3303, allocations: 23.2 kB / 398.5 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003676/0.3306, allocations: 48.66 kB / 398.6 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.3308, allocations: 79.98 kB / 398.6 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.485e-05/0.3308, allocations: 34.08 kB / 398.7 MB, free: 1.754 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001724/0.331, allocations: 174.6 kB / 398.8 MB, free: 1.652 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.331, allocations: 3.938 kB / 398.8 MB, free: 1.648 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005425/0.3316, allocations: 154.6 kB / 399 MB, free: 1.621 MB / 318.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.0001386/0.3317, allocations: 134.4 kB / 399.1 MB, free: 1.504 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.3331, allocations: 0.7355 MB / 399.9 MB, free: 1.273 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3331, allocations: 1.031 kB / 399.9 MB, free: 1.273 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007571/0.3339, allocations: 446.7 kB / 400.3 MB, free: 1.137 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007589/0.3347, allocations: 126.4 kB / 400.4 MB, free: 1.086 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.3371, allocations: 1.549 MB / 402 MB, free: 72 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000513/0.3377, allocations: 0.8684 MB / 402.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.3379, allocations: 67.34 kB / 402.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3379, allocations: 0 / 402.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of Templates: time 0.01328/0.3512, allocations: 7.405 MB / 410.3 MB, free: 11.54 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches