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.001629/0.001629, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002021/0.002021, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.9 MB, free: 9.012 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 61.64 kB / 306.9 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1071, allocations: 50.53 MB / 357.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005141/0.1123, allocations: 3.684 MB / 361.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.1144, allocations: 0.9549 MB / 362.1 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000494/0.1149, allocations: 11.94 kB / 362.1 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.1154, allocations: 63.47 kB / 362.1 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005334/0.1159, allocations: 134.9 kB / 362.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005804/0.1165, allocations: 143.8 kB / 362.4 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008208/0.1174, allocations: 0.5956 MB / 363 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003362/0.1177, allocations: 162.3 kB / 363.2 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005207/0.1182, allocations: 223.1 kB / 363.4 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000443/0.1187, allocations: 286.7 kB / 363.7 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.1188, allocations: 36 kB / 363.7 MB, free: 7.953 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.119, allocations: 36 kB / 363.7 MB, free: 7.918 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.1191, allocations: 99.59 kB / 363.8 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003105/0.1194, allocations: 270.6 kB / 364.1 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004516/0.1199, allocations: 463.1 kB / 364.5 MB, free: 7.102 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1199, allocations: 4 kB / 364.6 MB, free: 7.098 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1199, allocations: 0 / 364.6 MB, free: 7.098 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.429e-05/0.1199, allocations: 0 / 364.6 MB, free: 7.098 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.001717/0.1217, allocations: 0.8379 MB / 365.4 MB, free: 6.211 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1217, allocations: 12.03 kB / 365.4 MB, free: 6.199 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002596/0.122, allocations: 68.27 kB / 365.5 MB, free: 6.133 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/0.1225, allocations: 346.6 kB / 365.8 MB, free: 5.754 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/0.1225, allocations: 37 kB / 365.8 MB, free: 5.719 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-05/0.1226, allocations: 48 kB / 365.9 MB, free: 5.672 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007362/0.1234, allocations: 418.4 kB / 366.3 MB, free: 5.258 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.1234, allocations: 0 / 366.3 MB, free: 5.258 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/0.1234, allocations: 20 kB / 366.3 MB, free: 5.238 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.1235, allocations: 12 kB / 366.3 MB, free: 5.227 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006903/0.1242, allocations: 395.7 kB / 366.7 MB, free: 4.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.1265, allocations: 1.394 MB / 368.1 MB, free: 3.379 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007477/0.1272, allocations: 0.512 MB / 368.6 MB, free: 2.863 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000603/0.1278, allocations: 344.1 kB / 369 MB, free: 2.523 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.957e-05/0.1279, allocations: 8.656 kB / 369 MB, free: 2.516 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.128, allocations: 39.22 kB / 369 MB, free: 2.469 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.314e-06/0.128, allocations: 0 / 369 MB, free: 2.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=107): time 0.1751/0.3031, allocations: 3 MB / 372 MB, free: 20.42 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.3032, allocations: 63.05 kB / 372.1 MB, free: 20.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000357/0.3035, allocations: 277.4 kB / 372.3 MB, free: 20.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.3036, allocations: 41.64 kB / 372.4 MB, free: 20.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.3037, allocations: 203.9 kB / 372.6 MB, free: 20.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.3039, allocations: 363.1 kB / 372.9 MB, free: 19.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/0.3041, allocations: 149.3 kB / 373.1 MB, free: 19.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.894e-05/0.3042, allocations: 364.2 kB / 373.4 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.3047, allocations: 242.4 kB / 373.7 MB, free: 19.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004963/0.3052, allocations: 316 kB / 374 MB, free: 19.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009249/0.3061, allocations: 0.5764 MB / 374.6 MB, free: 18.85 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.3061, allocations: 5.125 kB / 374.6 MB, free: 18.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001256/0.3074, allocations: 0.7317 MB / 375.3 MB, free: 18.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.3074, allocations: 6.25 kB / 375.3 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3074, allocations: 1.219 kB / 375.3 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.3075, allocations: 4.719 kB / 375.3 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000754/0.3082, allocations: 201.9 kB / 375.5 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.3083, allocations: 5.281 kB / 375.5 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.3086, allocations: 31.98 kB / 375.5 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.997e-05/0.3086, allocations: 31.31 kB / 375.6 MB, free: 18.5 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.0002132/0.3088, allocations: 197.1 kB / 375.8 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.354e-05/0.3089, allocations: 56.78 kB / 375.8 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.3091, allocations: 81.47 kB / 375.9 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.3091, allocations: 11 kB / 375.9 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.931e-05/0.3091, allocations: 0.8438 kB / 375.9 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.3092, allocations: 5.859 kB / 375.9 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002605/0.3118, allocations: 1.958 MB / 377.9 MB, free: 17.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.3118, allocations: 7.297 kB / 377.9 MB, free: 17.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007905/0.3126, allocations: 196 kB / 378.1 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/0.3126, allocations: 13.78 kB / 378.1 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.485e-05/0.3127, allocations: 24.62 kB / 378.1 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/0.3127, allocations: 9.719 kB / 378.1 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.3127, allocations: 10.91 kB / 378.1 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.3145, allocations: 1.285 MB / 379.4 MB, free: 16.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.3146, allocations: 135.2 kB / 379.5 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/0.3147, allocations: 23.39 kB / 379.6 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.315, allocations: 28.73 kB / 379.6 MB, free: 16.26 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.3151, allocations: 80.94 kB / 379.7 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.757e-05/0.3152, allocations: 37.69 kB / 379.7 MB, free: 16.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001862/0.3154, allocations: 195.8 kB / 379.9 MB, free: 16.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3154, allocations: 1.312 kB / 379.9 MB, free: 16.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005718/0.316, allocations: 158 kB / 380.1 MB, free: 16.09 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.0001669/0.3161, allocations: 134 kB / 380.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.3172, allocations: 0.6672 MB / 380.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.3172, allocations: 1.062 kB / 380.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005924/0.3178, allocations: 416 kB / 381.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008331/0.3187, allocations: 133 kB / 381.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.321, allocations: 1.834 MB / 383.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.3214, allocations: 0.8788 MB / 384.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.3216, allocations: 64.05 kB / 384.2 MB, free: 13.56 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3217, allocations: 1.031 kB / 384.2 MB, free: 13.56 MB / 302.1 MB Notification: Performance of Templates: time 0.01464/0.3363, allocations: 7.61 MB / 391.8 MB, free: 11.04 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