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.001388/0.001389, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 66.25 kB / 307 MB, free: 0.5742 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.103, allocations: 50.53 MB / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005239/0.1083, allocations: 3.653 MB / 361.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.11, allocations: 0.9627 MB / 362.1 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.1102, allocations: 11.94 kB / 362.2 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.1105, allocations: 83.16 kB / 362.2 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002933/0.1108, allocations: 158.5 kB / 362.4 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.1112, allocations: 159.7 kB / 362.5 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006295/0.1118, allocations: 0.6268 MB / 363.2 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003215/0.1122, allocations: 189.5 kB / 363.4 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000343/0.1125, allocations: 251.1 kB / 363.6 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003475/0.1129, allocations: 286.8 kB / 363.9 MB, free: 7.652 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.121e-05/0.113, allocations: 52 kB / 363.9 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.1131, allocations: 52 kB / 364 MB, free: 7.551 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.1132, allocations: 123.6 kB / 364.1 MB, free: 7.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002733/0.1135, allocations: 286.5 kB / 364.4 MB, free: 7.148 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006408/0.1142, allocations: 0.623 MB / 365 MB, free: 6.523 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1142, allocations: 0 / 365 MB, free: 6.523 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1142, allocations: 0 / 365 MB, free: 6.523 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1142, allocations: 0 / 365 MB, free: 6.523 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.001565/0.1158, allocations: 0.8301 MB / 365.8 MB, free: 5.641 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1158, allocations: 12.03 kB / 365.8 MB, free: 5.629 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.116, allocations: 68.27 kB / 365.9 MB, free: 5.562 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004635/0.1165, allocations: 346.6 kB / 366.3 MB, free: 5.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.062e-05/0.1166, allocations: 37 kB / 366.3 MB, free: 5.145 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/0.1166, allocations: 44 kB / 366.3 MB, free: 5.102 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007397/0.1174, allocations: 430.3 kB / 366.8 MB, free: 4.672 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.1174, allocations: 0 / 366.8 MB, free: 4.672 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/0.1175, allocations: 20 kB / 366.8 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.1175, allocations: 12 kB / 366.8 MB, free: 4.641 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006998/0.1182, allocations: 387.8 kB / 367.2 MB, free: 4.262 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002309/0.1205, allocations: 1.398 MB / 368.6 MB, free: 2.797 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008091/0.1213, allocations: 0.5081 MB / 369.1 MB, free: 2.281 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006351/0.122, allocations: 344.1 kB / 369.4 MB, free: 1.941 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.813e-05/0.122, allocations: 12.59 kB / 369.4 MB, free: 1.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.1221, allocations: 39.22 kB / 369.5 MB, free: 1.883 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 1.693e-06/0.1221, allocations: 0 / 369.5 MB, free: 1.883 MB / 302.1 MB Notification: Performance of matching and sorting (n=107): time 0.176/0.2981, allocations: 2.993 MB / 372.4 MB, free: 19.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.2981, allocations: 63.97 kB / 372.5 MB, free: 19.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.2984, allocations: 279.9 kB / 372.8 MB, free: 19.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.2985, allocations: 44.52 kB / 372.8 MB, free: 19.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.634e-05/0.2986, allocations: 205.5 kB / 373 MB, free: 19.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.2988, allocations: 355.9 kB / 373.4 MB, free: 19.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.299, allocations: 155.9 kB / 373.5 MB, free: 19.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.049e-05/0.2991, allocations: 366.7 kB / 373.9 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004148/0.2995, allocations: 238.1 kB / 374.1 MB, free: 18.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004586/0.2999, allocations: 316.2 kB / 374.4 MB, free: 18.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.301, allocations: 0.5785 MB / 375 MB, free: 18.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.301, allocations: 3.75 kB / 375 MB, free: 18.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001064/0.302, allocations: 0.7278 MB / 375.7 MB, free: 18.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3021, allocations: 5.938 kB / 375.7 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.3021, allocations: 2.734 kB / 375.7 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.3021, allocations: 3.562 kB / 375.7 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000723/0.3028, allocations: 201.4 kB / 375.9 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.3029, allocations: 4.312 kB / 375.9 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.3032, allocations: 34.2 kB / 376 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.561e-05/0.3032, allocations: 33 kB / 376 MB, free: 18.11 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.0002082/0.3034, allocations: 203.7 kB / 376.2 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.763e-05/0.3035, allocations: 58.64 kB / 376.3 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.3037, allocations: 77.5 kB / 376.3 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.3037, allocations: 9.906 kB / 376.4 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/0.3037, allocations: 2.047 kB / 376.4 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.3037, allocations: 9.156 kB / 376.4 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002545/0.3063, allocations: 1.957 MB / 378.3 MB, free: 16.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.3063, allocations: 5.094 kB / 378.3 MB, free: 16.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007203/0.307, allocations: 191 kB / 378.5 MB, free: 16.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.3071, allocations: 9.688 kB / 378.5 MB, free: 16.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.545e-05/0.3071, allocations: 29.88 kB / 378.6 MB, free: 16.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/0.3071, allocations: 14.22 kB / 378.6 MB, free: 16.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.3071, allocations: 4.906 kB / 378.6 MB, free: 16.74 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.3087, allocations: 1.297 MB / 379.9 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.678e-05/0.3087, allocations: 130.1 kB / 380 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.231e-05/0.3088, allocations: 22.41 kB / 380 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/0.3091, allocations: 33.38 kB / 380.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.3093, allocations: 76.69 kB / 380.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/0.3093, allocations: 35.19 kB / 380.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.3095, allocations: 196.3 kB / 380.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3095, allocations: 0 / 380.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004747/0.31, allocations: 158.4 kB / 380.5 MB, free: 15.68 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.0001276/0.3101, allocations: 134.1 kB / 380.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.3117, allocations: 0.714 MB / 381.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.3117, allocations: 0 / 381.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005707/0.3122, allocations: 424.7 kB / 381.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008254/0.3131, allocations: 138.9 kB / 381.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.3152, allocations: 1.556 MB / 383.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.3155, allocations: 0.8788 MB / 384.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003104/0.3159, allocations: 83.5 kB / 384.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.316, allocations: 62.05 kB / 384.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.316, allocations: 0 / 384.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of Templates: time 0.01382/0.3299, allocations: 6.966 MB / 391.4 MB, free: 11.45 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.1.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