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.0009564/0.0009564, allocations: 96.5 kB / 18 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001344/0.001345, allocations: 208.4 kB / 18.94 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.7 MB / 247.5 MB, free: 11.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002542/0.0002545, allocations: 4 kB / 308.4 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1008, allocations: 51.53 MB / 359.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003734/0.1045, allocations: 3.283 MB / 363.2 MB, free: 10 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.1065, allocations: 0.9395 MB / 364.1 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004335/0.107, allocations: 11.94 kB / 364.1 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.1073, allocations: 63.47 kB / 364.2 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005324/0.1078, allocations: 138.9 kB / 364.3 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.1084, allocations: 139.8 kB / 364.5 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007821/0.1092, allocations: 0.5994 MB / 365.1 MB, free: 8.109 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003338/0.1095, allocations: 162.4 kB / 365.2 MB, free: 7.949 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004348/0.11, allocations: 215.1 kB / 365.4 MB, free: 7.738 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000443/0.1104, allocations: 250.8 kB / 365.7 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.974e-05/0.1105, allocations: 24 kB / 365.7 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.1107, allocations: 32 kB / 365.7 MB, free: 7.438 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.067e-05/0.1108, allocations: 99.53 kB / 365.8 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002912/0.1111, allocations: 284.3 kB / 366.1 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004371/0.1115, allocations: 454.9 kB / 366.6 MB, free: 6.609 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1116, allocations: 0 / 366.6 MB, free: 6.609 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1116, allocations: 8 kB / 366.6 MB, free: 6.602 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.281e-05/0.1116, allocations: 3.938 kB / 366.6 MB, free: 6.598 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.001468/0.1131, allocations: 0.7484 MB / 367.3 MB, free: 5.801 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1131, allocations: 16.03 kB / 367.3 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000268/0.1134, allocations: 72.17 kB / 367.4 MB, free: 5.715 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/0.1139, allocations: 342.7 kB / 367.7 MB, free: 5.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.1139, allocations: 37 kB / 367.8 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.242e-05/0.114, allocations: 48 kB / 367.8 MB, free: 5.258 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007934/0.1148, allocations: 426.4 kB / 368.2 MB, free: 4.836 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.1149, allocations: 3.906 kB / 368.2 MB, free: 4.832 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.1149, allocations: 20 kB / 368.3 MB, free: 4.812 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.1149, allocations: 12 kB / 368.3 MB, free: 4.801 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007768/0.1157, allocations: 403.7 kB / 368.7 MB, free: 4.406 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/0.1182, allocations: 1.39 MB / 370.1 MB, free: 2.949 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007696/0.119, allocations: 0.5198 MB / 370.6 MB, free: 2.422 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006328/0.1196, allocations: 340.1 kB / 370.9 MB, free: 2.086 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.348e-05/0.1197, allocations: 12.59 kB / 370.9 MB, free: 2.074 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.1197, allocations: 39.22 kB / 371 MB, free: 2.027 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.805e-06/0.1197, allocations: 0 / 371 MB, free: 2.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=107): time 0.1973/0.317, allocations: 3.063 MB / 374 MB, free: 18.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.3171, allocations: 63.08 kB / 374.1 MB, free: 18.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/0.3175, allocations: 276 kB / 374.4 MB, free: 18.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.254e-05/0.3176, allocations: 42.77 kB / 374.4 MB, free: 18.76 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.3177, allocations: 207.8 kB / 374.6 MB, free: 18.65 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/0.318, allocations: 358.4 kB / 375 MB, free: 18.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.3182, allocations: 80.45 kB / 375 MB, free: 18.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3184, allocations: 367.7 kB / 375.4 MB, free: 18.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006117/0.319, allocations: 244.5 kB / 375.6 MB, free: 18.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006564/0.3197, allocations: 319.1 kB / 375.9 MB, free: 18.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.3209, allocations: 0.5745 MB / 376.5 MB, free: 17.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.3209, allocations: 4.406 kB / 376.5 MB, free: 17.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001299/0.3222, allocations: 0.7392 MB / 377.3 MB, free: 17.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.3223, allocations: 10.22 kB / 377.3 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.3223, allocations: 1.375 kB / 377.3 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.3223, allocations: 4.125 kB / 377.3 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007498/0.3231, allocations: 200.2 kB / 377.5 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.025e-05/0.3231, allocations: 6.109 kB / 377.5 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005367/0.3237, allocations: 33.69 kB / 377.5 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-05/0.3238, allocations: 30.33 kB / 377.5 MB, free: 17.57 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.0002573/0.324, allocations: 206.1 kB / 377.7 MB, free: 17.4 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.3242, allocations: 56.28 kB / 377.8 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.3243, allocations: 77.59 kB / 377.9 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.3244, allocations: 12.12 kB / 377.9 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.997e-05/0.3244, allocations: 0 / 377.9 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/0.3244, allocations: 9.625 kB / 377.9 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003294/0.3277, allocations: 1.962 MB / 379.9 MB, free: 16.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.3277, allocations: 4.594 kB / 379.9 MB, free: 16.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007898/0.3285, allocations: 199.6 kB / 380.1 MB, free: 16.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.203e-05/0.3286, allocations: 8.625 kB / 380.1 MB, free: 16.22 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.758e-05/0.3286, allocations: 26.03 kB / 380.1 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-05/0.3287, allocations: 12.77 kB / 380.1 MB, free: 16.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/0.3287, allocations: 6.484 kB / 380.1 MB, free: 16.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.3306, allocations: 1.305 MB / 381.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.3308, allocations: 134.1 kB / 381.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.688e-05/0.3309, allocations: 27.08 kB / 381.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.3313, allocations: 33.81 kB / 381.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.3314, allocations: 82.47 kB / 381.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.584e-05/0.3315, allocations: 33.7 kB / 381.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002013/0.3317, allocations: 195.3 kB / 381.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3317, allocations: 0 / 381.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006309/0.3323, allocations: 159.1 kB / 382.1 MB, free: 15.14 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.0001906/0.3325, allocations: 133.8 kB / 382.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.3339, allocations: 0.6695 MB / 382.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3339, allocations: 1.125 kB / 382.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007121/0.3346, allocations: 421.6 kB / 383.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.3357, allocations: 130.7 kB / 383.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003438/0.3392, allocations: 1.937 MB / 385.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/0.3397, allocations: 0.878 MB / 386.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/0.3399, allocations: 69.77 kB / 386.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of SimCode: time 4e-07/0.34, allocations: 0 / 386.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of Templates: time 0.01675/0.3567, allocations: 7.534 MB / 393.8 MB, free: 9.969 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/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