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.001133/0.001133, allocations: 105 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001112/0.001112, allocations: 210.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2788, allocations: 50.54 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005084/0.2839, allocations: 3.648 MB / 413.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.2861, allocations: 0.9432 MB / 414.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004535/0.2866, allocations: 11.94 kB / 414.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.287, allocations: 87.16 kB / 414.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005378/0.2875, allocations: 162.5 kB / 414.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006224/0.2881, allocations: 163.7 kB / 414.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.2893, allocations: 0.619 MB / 415.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005295/0.2899, allocations: 193.4 kB / 415.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005671/0.2905, allocations: 263.1 kB / 416 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005462/0.291, allocations: 278.8 kB / 416.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.2912, allocations: 52 kB / 416.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.2914, allocations: 55.98 kB / 416.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.2915, allocations: 127.5 kB / 416.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004053/0.2919, allocations: 290.6 kB / 416.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007892/0.2927, allocations: 0.62 MB / 417.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2928, allocations: 0 / 417.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.2928, allocations: 0 / 417.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.386e-05/0.2928, allocations: 3.938 kB / 417.4 MB, free: 10.05 MB / 334.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.001608/0.2944, allocations: 0.8339 MB / 418.2 MB, free: 9.172 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2945, allocations: 12.03 kB / 418.2 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002249/0.2947, allocations: 72.17 kB / 418.3 MB, free: 9.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005204/0.2952, allocations: 350.7 kB / 418.7 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/0.2953, allocations: 37 kB / 418.7 MB, free: 8.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-05/0.2954, allocations: 55.89 kB / 418.8 MB, free: 8.613 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007329/0.2961, allocations: 414.4 kB / 419.2 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.2961, allocations: 3.984 kB / 419.2 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-05/0.2962, allocations: 24 kB / 419.2 MB, free: 8.172 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.2962, allocations: 12 kB / 419.2 MB, free: 8.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006641/0.2969, allocations: 387.7 kB / 419.6 MB, free: 7.781 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00231/0.2992, allocations: 1.374 MB / 421 MB, free: 6.348 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007613/0.3, allocations: 0.5149 MB / 421.5 MB, free: 5.816 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006426/0.3006, allocations: 348 kB / 421.8 MB, free: 5.473 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.018e-05/0.3007, allocations: 16.66 kB / 421.8 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.3007, allocations: 43.2 kB / 421.9 MB, free: 5.406 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.595e-06/0.3008, allocations: 0 / 421.9 MB, free: 5.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=107): time 0.006374/0.3071, allocations: 3.004 MB / 424.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.3072, allocations: 60.41 kB / 424.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.3075, allocations: 284.5 kB / 425.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/0.3076, allocations: 41.7 kB / 425.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.3077, allocations: 205.3 kB / 425.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/0.308, allocations: 362.6 kB / 425.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.3082, allocations: 146.7 kB / 425.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3084, allocations: 362.8 kB / 426.3 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000414/0.3088, allocations: 253.8 kB / 426.5 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004743/0.3093, allocations: 313.4 kB / 426.9 MB, free: 288 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009486/0.3102, allocations: 0.5688 MB / 427.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3102, allocations: 7.938 kB / 427.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001157/0.3114, allocations: 0.7312 MB / 428.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.3114, allocations: 8 kB / 428.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.3114, allocations: 0 / 428.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.3115, allocations: 7.938 kB / 428.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007444/0.3122, allocations: 199.8 kB / 428.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.3122, allocations: 4 kB / 428.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.3125, allocations: 31.92 kB / 428.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/0.3126, allocations: 35.94 kB / 428.4 MB, free: 14.68 MB / 350.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.0002546/0.3129, allocations: 201.6 kB / 428.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.313, allocations: 55.34 kB / 428.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001958/0.3132, allocations: 81.62 kB / 428.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.3132, allocations: 11.94 kB / 428.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/0.3132, allocations: 3.938 kB / 428.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.3132, allocations: 3.984 kB / 428.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002755/0.316, allocations: 1.94 MB / 430.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.316, allocations: 4.594 kB / 430.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007509/0.3168, allocations: 195.7 kB / 430.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-05/0.3168, allocations: 8 kB / 430.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-05/0.3169, allocations: 27.98 kB / 431 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/0.3169, allocations: 11.94 kB / 431 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.3169, allocations: 8 kB / 431 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.3187, allocations: 1.294 MB / 432.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.3188, allocations: 132.4 kB / 432.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.072e-05/0.3189, allocations: 24.06 kB / 432.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/0.3193, allocations: 31.98 kB / 432.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.3194, allocations: 76.78 kB / 432.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.632e-05/0.3195, allocations: 32.12 kB / 432.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000189/0.3197, allocations: 199.1 kB / 432.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3197, allocations: 0 / 432.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005272/0.3202, allocations: 160 kB / 432.9 MB, free: 9.984 MB / 350.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.0001714/0.3204, allocations: 131 kB / 433 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.3215, allocations: 0.6723 MB / 433.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3215, allocations: 4.125 kB / 433.7 MB, free: 9.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006264/0.3222, allocations: 413.4 kB / 434.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008685/0.323, allocations: 152.6 kB / 434.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.3255, allocations: 1.565 MB / 435.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.326, allocations: 0.8764 MB / 436.7 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.3262, allocations: 63.42 kB / 436.8 MB, free: 5.996 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3262, allocations: 0 / 436.8 MB, free: 5.996 MB / 350.1 MB Notification: Performance of Templates: time 0.0111/0.3373, allocations: 7.703 MB / 444.5 MB, free: 14.31 MB / 366.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/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_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches