Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007942/0.0007943, allocations: 96.44 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009101/0.0009102, allocations: 201.1 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.7 MB / 246.8 MB, free: 9.773 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002269/0.000227, allocations: 8 kB / 307.7 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0967/0.09694, allocations: 51.52 MB / 359.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.00343/0.1004, allocations: 3.29 MB / 362.6 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.1019, allocations: 0.9394 MB / 363.5 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.102, allocations: 8 kB / 363.5 MB, free: 8.832 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.1022, allocations: 63.47 kB / 363.6 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.1025, allocations: 130.9 kB / 363.7 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.1028, allocations: 143.8 kB / 363.8 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005524/0.1034, allocations: 0.5994 MB / 364.4 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.1037, allocations: 166.3 kB / 364.6 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002816/0.104, allocations: 215.1 kB / 364.8 MB, free: 7.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.1043, allocations: 250.8 kB / 365 MB, free: 7.273 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.203e-05/0.1043, allocations: 28 kB / 365.1 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.969e-05/0.1044, allocations: 32 kB / 365.1 MB, free: 7.215 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.51e-05/0.1045, allocations: 91.59 kB / 365.2 MB, free: 7.125 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.1047, allocations: 280.3 kB / 365.5 MB, free: 6.844 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004619/0.1052, allocations: 0.5877 MB / 366.1 MB, free: 6.254 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1052, allocations: 0 / 366.1 MB, free: 6.254 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1052, allocations: 4 kB / 366.1 MB, free: 6.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1052, allocations: 0 / 366.1 MB, free: 6.25 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001281/0.1065, allocations: 0.7523 MB / 366.8 MB, free: 5.449 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1066, allocations: 15.97 kB / 366.8 MB, free: 5.434 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.1068, allocations: 76.17 kB / 366.9 MB, free: 5.359 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.1072, allocations: 346.7 kB / 367.2 MB, free: 4.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/0.1072, allocations: 37 kB / 367.3 MB, free: 4.945 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.733e-05/0.1073, allocations: 48 kB / 367.3 MB, free: 4.898 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000711/0.108, allocations: 418.4 kB / 367.7 MB, free: 4.484 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.1081, allocations: 7.906 kB / 367.7 MB, free: 4.477 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/0.1081, allocations: 27.94 kB / 367.8 MB, free: 4.449 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.1081, allocations: 12 kB / 367.8 MB, free: 4.438 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007017/0.1088, allocations: 387.8 kB / 368.2 MB, free: 4.059 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/0.1111, allocations: 1.394 MB / 369.5 MB, free: 2.598 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00078/0.1119, allocations: 0.5159 MB / 370.1 MB, free: 2.074 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006316/0.1125, allocations: 344.1 kB / 370.4 MB, free: 1.734 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.1126, allocations: 8.656 kB / 370.4 MB, free: 1.727 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.1126, allocations: 39.22 kB / 370.4 MB, free: 1.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.204e-06/0.1126, allocations: 0 / 370.4 MB, free: 1.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=107): time 0.2123/0.3249, allocations: 3.059 MB / 373.5 MB, free: 18.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.325, allocations: 65.89 kB / 373.6 MB, free: 18.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.3254, allocations: 279.2 kB / 373.8 MB, free: 18.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.352e-05/0.3255, allocations: 42.89 kB / 373.9 MB, free: 18.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.3257, allocations: 204.3 kB / 374.1 MB, free: 18.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002917/0.326, allocations: 363.8 kB / 374.4 MB, free: 18.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.3261, allocations: 83.36 kB / 374.5 MB, free: 18.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3262, allocations: 364.4 kB / 374.9 MB, free: 17.78 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005167/0.3267, allocations: 242.7 kB / 375.1 MB, free: 17.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005703/0.3273, allocations: 316 kB / 375.4 MB, free: 17.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.3284, allocations: 0.5855 MB / 376 MB, free: 17.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3284, allocations: 3.188 kB / 376 MB, free: 17.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001236/0.3297, allocations: 0.7366 MB / 376.7 MB, free: 17.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.3297, allocations: 5.062 kB / 376.8 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3297, allocations: 1.719 kB / 376.8 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.3297, allocations: 5.5 kB / 376.8 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007322/0.3305, allocations: 198.2 kB / 377 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/0.3305, allocations: 8.109 kB / 377 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000362/0.3309, allocations: 34.22 kB / 377 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.879e-05/0.3309, allocations: 30.92 kB / 377 MB, free: 17.16 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 (117): * Single equations (assignments): 117 * 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.0002445/0.3312, allocations: 204.9 kB / 377.2 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.3313, allocations: 56.22 kB / 377.3 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.3315, allocations: 84.12 kB / 377.4 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.3315, allocations: 11 kB / 377.4 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.839e-05/0.3315, allocations: 0 / 377.4 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.3315, allocations: 5.484 kB / 377.4 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/0.3345, allocations: 1.977 MB / 379.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.3345, allocations: 4.094 kB / 379.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007753/0.3353, allocations: 191.7 kB / 379.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.879e-05/0.3353, allocations: 8.984 kB / 379.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.376e-05/0.3354, allocations: 28.69 kB / 379.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.58e-05/0.3354, allocations: 10.44 kB / 379.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.3354, allocations: 9.938 kB / 379.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.3371, allocations: 1.294 MB / 380.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.3373, allocations: 131.1 kB / 381 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-05/0.3374, allocations: 22.31 kB / 381 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003953/0.3378, allocations: 42.19 kB / 381.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.3379, allocations: 73.84 kB / 381.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.767e-05/0.338, allocations: 38.17 kB / 381.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001989/0.3382, allocations: 196.2 kB / 381.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.3382, allocations: 4 kB / 381.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000653/0.3389, allocations: 158.6 kB / 381.5 MB, free: 14.72 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 (107): * Single equations (assignments): 107 * 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.0001727/0.339, allocations: 137.5 kB / 381.7 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.3404, allocations: 0.6696 MB / 382.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.3404, allocations: 4.125 kB / 382.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006674/0.3411, allocations: 417.7 kB / 382.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.3421, allocations: 137.9 kB / 382.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.3447, allocations: 1.899 MB / 384.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.3451, allocations: 0.874 MB / 385.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000379/0.3455, allocations: 84.55 kB / 385.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.3457, allocations: 56.64 kB / 385.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3457, allocations: 4 kB / 385.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of Templates: time 0.01412/0.3598, allocations: 6.426 MB / 392.2 MB, free: 10.42 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches