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.001445/0.001445, allocations: 111.6 kB / 16.63 MB, free: 6.953 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.001764/0.001764, allocations: 193.9 kB / 17.55 MB, free: 6.043 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.317/1.317, allocations: 222.9 MB / 241.2 MB, free: 13.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009611/0.0009612, allocations: 42.19 kB / 300.1 MB, free: 5.996 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09531/0.09629, allocations: 49.44 MB / 349.6 MB, free: 4.539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004593/0.1009, allocations: 3.565 MB / 353.1 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.1022, allocations: 0.8607 MB / 354 MB, free: 84 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.1024, allocations: 15.88 kB / 354 MB, free: 68 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.1026, allocations: 55.55 kB / 354.1 MB, free: 12 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.1029, allocations: 130.9 kB / 354.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.1032, allocations: 127.9 kB / 354.3 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006023/0.1038, allocations: 0.5919 MB / 354.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002748/0.1041, allocations: 197.5 kB / 355.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.1044, allocations: 235.1 kB / 355.3 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.1047, allocations: 274.9 kB / 355.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.736e-05/0.1047, allocations: 52 kB / 355.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.667e-05/0.1048, allocations: 48 kB / 355.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.932e-05/0.1049, allocations: 119.6 kB / 355.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002112/0.1051, allocations: 262.7 kB / 356.1 MB, free: 14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004733/0.1056, allocations: 0.5958 MB / 356.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.1056, allocations: 11.98 kB / 356.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1056, allocations: 0 / 356.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.1056, allocations: 0 / 356.7 MB, free: 13.39 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.001498/0.1071, allocations: 0.8381 MB / 357.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1072, allocations: 12.03 kB / 357.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.4e-05/0.1073, allocations: 60.28 kB / 357.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.1076, allocations: 327.2 kB / 357.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.999e-05/0.1077, allocations: 37.38 kB / 357.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.595e-05/0.1078, allocations: 48.38 kB / 358 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009052/0.1087, allocations: 450.7 kB / 358.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.1088, allocations: 3.906 kB / 358.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.1088, allocations: 20 kB / 358.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.1088, allocations: 19.98 kB / 358.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009962/0.1098, allocations: 463.5 kB / 358.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002227/0.1121, allocations: 1.378 MB / 360.3 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009157/0.113, allocations: 0.5442 MB / 360.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007501/0.1138, allocations: 375.8 kB / 361.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-05/0.1138, allocations: 8.547 kB / 361.2 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.1138, allocations: 39.12 kB / 361.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 2.134e-06/0.1139, allocations: 0 / 361.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of matching and sorting (n=103): time 0.00725/0.1211, allocations: 3.129 MB / 364.4 MB, free: 5.418 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.1212, allocations: 64.39 kB / 364.5 MB, free: 5.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.1214, allocations: 255 kB / 364.7 MB, free: 5.078 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.1215, allocations: 41.7 kB / 364.7 MB, free: 5.031 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.1216, allocations: 197.1 kB / 364.9 MB, free: 4.832 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.1218, allocations: 358.8 kB / 365.3 MB, free: 4.477 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/0.122, allocations: 142.7 kB / 365.4 MB, free: 4.332 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1221, allocations: 358.8 kB / 365.8 MB, free: 3.973 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005649/0.1227, allocations: 277.8 kB / 366 MB, free: 3.703 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006024/0.1233, allocations: 345.4 kB / 366.4 MB, free: 3.352 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.1245, allocations: 0.6234 MB / 367 MB, free: 2.723 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1245, allocations: 7.938 kB / 367 MB, free: 2.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001397/0.1259, allocations: 0.778 MB / 367.8 MB, free: 1.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1259, allocations: 6.5 kB / 367.8 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.1259, allocations: 3.984 kB / 367.8 MB, free: 1.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.126, allocations: 7.938 kB / 367.8 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007832/0.1267, allocations: 211.7 kB / 368 MB, free: 1.707 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.1268, allocations: 8.062 kB / 368 MB, free: 1.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.1271, allocations: 51.89 kB / 368.1 MB, free: 1.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/0.1272, allocations: 27.98 kB / 368.1 MB, free: 1.621 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.0002129/0.1274, allocations: 193.7 kB / 368.3 MB, free: 1.422 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.497e-05/0.1275, allocations: 47.44 kB / 368.3 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.1276, allocations: 77.33 kB / 368.4 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.1276, allocations: 16 kB / 368.4 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1277, allocations: 0 / 368.4 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.1277, allocations: 3.984 kB / 368.4 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.143/0.2706, allocations: 1.988 MB / 370.4 MB, free: 25.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.2707, allocations: 4.781 kB / 370.4 MB, free: 25.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008739/0.2716, allocations: 209.4 kB / 370.6 MB, free: 25.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/0.2716, allocations: 8.844 kB / 370.6 MB, free: 25.22 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/0.2717, allocations: 32.47 kB / 370.7 MB, free: 25.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-05/0.2717, allocations: 10.05 kB / 370.7 MB, free: 25.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.2717, allocations: 8.875 kB / 370.7 MB, free: 25.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/0.2739, allocations: 1.367 MB / 372.1 MB, free: 24.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.274, allocations: 130.8 kB / 372.2 MB, free: 24.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.647e-05/0.2741, allocations: 26.8 kB / 372.2 MB, free: 24.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004011/0.2745, allocations: 45.58 kB / 372.3 MB, free: 24.76 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.2747, allocations: 79.53 kB / 372.3 MB, free: 24.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.232e-05/0.2747, allocations: 29.38 kB / 372.4 MB, free: 24.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001757/0.2749, allocations: 182.7 kB / 372.5 MB, free: 24.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2749, allocations: 0 / 372.5 MB, free: 24.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005152/0.2754, allocations: 155 kB / 372.7 MB, free: 24.61 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.0001323/0.2756, allocations: 131.8 kB / 372.8 MB, free: 24.49 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001761/0.2773, allocations: 0.7649 MB / 373.6 MB, free: 24.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2774, allocations: 0 / 373.6 MB, free: 24.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007384/0.2781, allocations: 450.8 kB / 374 MB, free: 24.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007682/0.2789, allocations: 137 kB / 374.2 MB, free: 24.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.2811, allocations: 1.767 MB / 375.9 MB, free: 22.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.2814, allocations: 0.8681 MB / 376.8 MB, free: 22.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003305/0.2818, allocations: 79.19 kB / 376.9 MB, free: 22.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.2819, allocations: 59.06 kB / 376.9 MB, free: 22.16 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2819, allocations: 1.062 kB / 376.9 MB, free: 22.16 MB / 302.1 MB Notification: Performance of Templates: time 0.01097/0.2929, allocations: 6.36 MB / 383.3 MB, free: 20.95 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