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.001062/0.001062, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001386/0.001386, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.89 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3059, allocations: 50.55 MB / 409.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004658/0.3106, allocations: 3.652 MB / 412.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.3128, allocations: 0.9432 MB / 413.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.313, allocations: 11.94 kB / 413.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.3133, allocations: 83.17 kB / 413.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.3136, allocations: 158.5 kB / 414.1 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004885/0.3141, allocations: 167.7 kB / 414.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006098/0.3147, allocations: 0.6228 MB / 414.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003474/0.315, allocations: 201.4 kB / 415.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003191/0.3154, allocations: 259.1 kB / 415.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003172/0.3157, allocations: 282.8 kB / 415.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.085e-05/0.3158, allocations: 52 kB / 415.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.3159, allocations: 60 kB / 415.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.909e-05/0.316, allocations: 119.6 kB / 415.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002549/0.3163, allocations: 282.6 kB / 416.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006221/0.3169, allocations: 0.62 MB / 416.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3169, allocations: 3.938 kB / 416.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3169, allocations: 3.938 kB / 416.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.317, allocations: 0 / 416.7 MB, free: 10.07 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.001517/0.3185, allocations: 0.8379 MB / 417.6 MB, free: 9.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.3185, allocations: 8.031 kB / 417.6 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002445/0.3188, allocations: 72.17 kB / 417.6 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005567/0.3194, allocations: 350.7 kB / 418 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.976e-05/0.3194, allocations: 37 kB / 418 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.013e-05/0.3195, allocations: 51.91 kB / 418.1 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00073/0.3203, allocations: 426.3 kB / 418.5 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.3203, allocations: 4 kB / 418.5 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-05/0.3203, allocations: 16 kB / 418.5 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.3204, allocations: 12 kB / 418.5 MB, free: 8.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006704/0.321, allocations: 391.8 kB / 418.9 MB, free: 7.789 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.3232, allocations: 1.374 MB / 420.3 MB, free: 6.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007341/0.324, allocations: 0.5187 MB / 420.8 MB, free: 5.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005874/0.3246, allocations: 344 kB / 421.1 MB, free: 5.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.615e-05/0.3246, allocations: 12.66 kB / 421.1 MB, free: 5.469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.3247, allocations: 39.22 kB / 421.2 MB, free: 5.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 1.894e-06/0.3247, allocations: 0 / 421.2 MB, free: 5.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=107): time 0.006011/0.3307, allocations: 3.011 MB / 424.2 MB, free: 2.336 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.3307, allocations: 60.41 kB / 424.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.331, allocations: 284.5 kB / 424.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.879e-05/0.3311, allocations: 45.7 kB / 424.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.3312, allocations: 197.3 kB / 424.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/0.3314, allocations: 362.6 kB / 425.1 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.3316, allocations: 150.7 kB / 425.3 MB, free: 1.215 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3318, allocations: 370.8 kB / 425.6 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/0.3322, allocations: 237.9 kB / 425.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004509/0.3326, allocations: 313.4 kB / 426.2 MB, free: 304 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008779/0.3335, allocations: 0.5727 MB / 426.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3335, allocations: 11.94 kB / 426.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001093/0.3346, allocations: 0.7312 MB / 427.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3347, allocations: 8 kB / 427.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.3347, allocations: 0 / 427.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3347, allocations: 4 kB / 427.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007257/0.3354, allocations: 195.7 kB / 427.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.3355, allocations: 4 kB / 427.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.3357, allocations: 27.98 kB / 427.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.063e-05/0.3358, allocations: 43.98 kB / 427.8 MB, free: 14.69 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.000224/0.336, allocations: 201.5 kB / 428 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.032e-05/0.3361, allocations: 63.28 kB / 428 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.3363, allocations: 81.62 kB / 428.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.3363, allocations: 8 kB / 428.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.3363, allocations: 0 / 428.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.3363, allocations: 3.984 kB / 428.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002548/0.3389, allocations: 1.941 MB / 430.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.3389, allocations: 8.094 kB / 430.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007574/0.3397, allocations: 195.7 kB / 430.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.3397, allocations: 8 kB / 430.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/0.3397, allocations: 28 kB / 430.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.759e-06/0.3397, allocations: 11.98 kB / 430.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/0.3398, allocations: 11.94 kB / 430.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.3414, allocations: 1.287 MB / 431.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.374e-05/0.3415, allocations: 132.5 kB / 431.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.593e-05/0.3416, allocations: 20 kB / 431.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/0.3419, allocations: 31.98 kB / 431.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.3421, allocations: 76.78 kB / 431.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/0.3421, allocations: 39.98 kB / 431.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001742/0.3423, allocations: 195.1 kB / 432.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3423, allocations: 0 / 432.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004748/0.3428, allocations: 160 kB / 432.2 MB, free: 9.996 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.0001533/0.3429, allocations: 134.8 kB / 432.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.344, allocations: 0.6762 MB / 433 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.344, allocations: 0 / 433 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005908/0.3446, allocations: 413.4 kB / 433.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007709/0.3454, allocations: 145.8 kB / 433.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.3477, allocations: 1.536 MB / 435.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.3482, allocations: 0.8764 MB / 436 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002896/0.3485, allocations: 85.2 kB / 436.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.3486, allocations: 59.42 kB / 436.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3486, allocations: 0 / 436.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of Templates: time 0.01203/0.3607, allocations: 7.127 MB / 443.3 MB, free: 14.92 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/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