Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00157/0.00157, allocations: 109.8 kB / 18.3 MB, free: 4.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001837/0.001837, allocations: 207.9 kB / 19.25 MB, free: 3.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.438/1.438, allocations: 227.7 MB / 247.7 MB, free: 10.31 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 61.66 kB / 307.9 MB, free: 0.5234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1029, allocations: 50.54 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005032/0.108, allocations: 3.642 MB / 362.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1099, allocations: 0.9549 MB / 363 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.1101, allocations: 11.94 kB / 363 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.1103, allocations: 83.16 kB / 363.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.1106, allocations: 162.5 kB / 363.3 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004791/0.1111, allocations: 167.7 kB / 363.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006304/0.1118, allocations: 0.6229 MB / 364.1 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003134/0.1121, allocations: 189.5 kB / 364.3 MB, free: 8.113 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003495/0.1125, allocations: 247.1 kB / 364.5 MB, free: 7.871 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003653/0.1128, allocations: 286.8 kB / 364.8 MB, free: 7.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.532e-05/0.1129, allocations: 52 kB / 364.8 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.1131, allocations: 56 kB / 364.9 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.1132, allocations: 123.5 kB / 365 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003157/0.1135, allocations: 286.6 kB / 365.3 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006564/0.1142, allocations: 0.6152 MB / 365.9 MB, free: 6.465 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/0.1142, allocations: 4 kB / 365.9 MB, free: 6.461 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1142, allocations: 0 / 365.9 MB, free: 6.461 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.1142, allocations: 0 / 365.9 MB, free: 6.461 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.00157/0.1158, allocations: 0.834 MB / 366.7 MB, free: 5.574 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1158, allocations: 8.031 kB / 366.7 MB, free: 5.566 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.1161, allocations: 72.27 kB / 366.8 MB, free: 5.496 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/0.1165, allocations: 346.6 kB / 367.1 MB, free: 5.113 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/0.1166, allocations: 41 kB / 367.2 MB, free: 5.074 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.149e-05/0.1167, allocations: 48 kB / 367.2 MB, free: 5.027 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000759/0.1174, allocations: 418.4 kB / 367.6 MB, free: 4.609 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.1175, allocations: 0 / 367.6 MB, free: 4.609 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.925e-05/0.1175, allocations: 23.98 kB / 367.7 MB, free: 4.586 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.1175, allocations: 12 kB / 367.7 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007237/0.1183, allocations: 395.7 kB / 368.1 MB, free: 4.188 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/0.1207, allocations: 1.386 MB / 369.5 MB, free: 2.734 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008134/0.1215, allocations: 0.511 MB / 370 MB, free: 2.215 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000653/0.1222, allocations: 351.1 kB / 370.3 MB, free: 1.867 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.797e-05/0.1222, allocations: 8.656 kB / 370.3 MB, free: 1.859 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.1223, allocations: 39.22 kB / 370.4 MB, free: 1.812 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.114e-06/0.1223, allocations: 0 / 370.4 MB, free: 1.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=107): time 0.173/0.2953, allocations: 2.995 MB / 373.3 MB, free: 19.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.2953, allocations: 62.81 kB / 373.4 MB, free: 19.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003457/0.2957, allocations: 279.6 kB / 373.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.2957, allocations: 43.36 kB / 373.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.2959, allocations: 207 kB / 373.9 MB, free: 19.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/0.2961, allocations: 354.3 kB / 374.3 MB, free: 19.28 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.2963, allocations: 153.4 kB / 374.4 MB, free: 19.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.664e-05/0.2964, allocations: 364.9 kB / 374.8 MB, free: 18.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004351/0.2968, allocations: 240.9 kB / 375 MB, free: 18.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004714/0.2973, allocations: 315.8 kB / 375.3 MB, free: 18.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009562/0.2983, allocations: 0.5737 MB / 375.9 MB, free: 18.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2983, allocations: 10.31 kB / 375.9 MB, free: 18.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001113/0.2994, allocations: 0.7272 MB / 376.6 MB, free: 18.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2994, allocations: 6.484 kB / 376.6 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.2994, allocations: 4.031 kB / 376.6 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.2995, allocations: 4.125 kB / 376.6 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007044/0.3002, allocations: 200.1 kB / 376.8 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.3002, allocations: 4.125 kB / 376.8 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.3005, allocations: 34.62 kB / 376.9 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/0.3006, allocations: 31.02 kB / 376.9 MB, free: 18.04 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.0002116/0.3008, allocations: 197.6 kB / 377.1 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.019e-05/0.3009, allocations: 61.56 kB / 377.2 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.301, allocations: 78.45 kB / 377.2 MB, free: 17.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.3011, allocations: 10.53 kB / 377.3 MB, free: 17.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.805e-05/0.3011, allocations: 0 / 377.3 MB, free: 17.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.3011, allocations: 10.27 kB / 377.3 MB, free: 17.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00269/0.3038, allocations: 1.953 MB / 379.2 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.3038, allocations: 4.438 kB / 379.2 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007849/0.3046, allocations: 194.8 kB / 379.4 MB, free: 16.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.707e-05/0.3046, allocations: 14.73 kB / 379.4 MB, free: 16.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.648e-05/0.3047, allocations: 26.47 kB / 379.4 MB, free: 16.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-05/0.3047, allocations: 14.53 kB / 379.5 MB, free: 16.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.3047, allocations: 4.5 kB / 379.5 MB, free: 16.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.3065, allocations: 1.298 MB / 380.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.3066, allocations: 132.4 kB / 380.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.455e-05/0.3067, allocations: 21.56 kB / 380.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/0.307, allocations: 35.08 kB / 380.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.3072, allocations: 76.88 kB / 381 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.088e-05/0.3072, allocations: 34.53 kB / 381.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001915/0.3074, allocations: 196 kB / 381.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3074, allocations: 4 kB / 381.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005878/0.308, allocations: 158.8 kB / 381.4 MB, free: 15.61 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.0001602/0.3082, allocations: 130.6 kB / 381.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.3098, allocations: 0.7124 MB / 382.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3098, allocations: 1 kB / 382.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005891/0.3104, allocations: 414.8 kB / 382.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008328/0.3113, allocations: 152.6 kB / 382.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.3136, allocations: 1.58 MB / 384.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.314, allocations: 0.8793 MB / 385.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.3142, allocations: 68.88 kB / 385.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3142, allocations: 0 / 385.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of Templates: time 0.01355/0.3278, allocations: 7.612 MB / 392.9 MB, free: 10.73 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches