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.001561/0.001561, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001848/0.001848, allocations: 210.4 kB / 18.58 MB, free: 4.578 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.427/1.427, allocations: 227.7 MB / 247.1 MB, free: 10.32 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.001972/0.001972, allocations: 68.61 kB / 307.2 MB, free: 0.5078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1066, allocations: 50.54 MB / 357.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005396/0.112, allocations: 3.655 MB / 361.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.1142, allocations: 0.9549 MB / 362.4 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002898/0.1146, allocations: 11.94 kB / 362.4 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.1148, allocations: 83.16 kB / 362.5 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.1152, allocations: 162.5 kB / 362.6 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005143/0.1157, allocations: 159.7 kB / 362.8 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007022/0.1164, allocations: 0.6229 MB / 363.4 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003811/0.1168, allocations: 201.4 kB / 363.6 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003837/0.1172, allocations: 247.2 kB / 363.8 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003645/0.1176, allocations: 282.8 kB / 364.1 MB, free: 7.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.825e-05/0.1177, allocations: 52 kB / 364.2 MB, free: 7.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.1178, allocations: 56 kB / 364.2 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.1179, allocations: 123.5 kB / 364.3 MB, free: 7.344 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002642/0.1182, allocations: 278.6 kB / 364.6 MB, free: 7.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006618/0.1189, allocations: 0.623 MB / 365.2 MB, free: 6.445 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1189, allocations: 4 kB / 365.2 MB, free: 6.441 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1189, allocations: 0 / 365.2 MB, free: 6.441 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.1189, allocations: 0 / 365.2 MB, free: 6.441 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.001552/0.1205, allocations: 0.8301 MB / 366.1 MB, free: 5.559 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1205, allocations: 8.031 kB / 366.1 MB, free: 5.551 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002236/0.1207, allocations: 68.27 kB / 366.2 MB, free: 5.484 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000467/0.1212, allocations: 354.6 kB / 366.5 MB, free: 5.094 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/0.1213, allocations: 37 kB / 366.5 MB, free: 5.059 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.504e-05/0.1214, allocations: 48 kB / 366.6 MB, free: 5.012 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007605/0.1221, allocations: 418.4 kB / 367 MB, free: 4.594 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.1222, allocations: 0 / 367 MB, free: 4.594 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.244e-05/0.1222, allocations: 23.94 kB / 367 MB, free: 4.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.1222, allocations: 12 kB / 367 MB, free: 4.559 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007295/0.123, allocations: 387.8 kB / 367.4 MB, free: 4.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00241/0.1254, allocations: 1.394 MB / 368.8 MB, free: 2.719 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008124/0.1262, allocations: 0.5187 MB / 369.3 MB, free: 2.191 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006524/0.1269, allocations: 335.2 kB / 369.6 MB, free: 1.859 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.746e-05/0.1269, allocations: 16.59 kB / 369.7 MB, free: 1.844 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.127, allocations: 43.22 kB / 369.7 MB, free: 1.793 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.494e-06/0.127, allocations: 0 / 369.7 MB, free: 1.793 MB / 302.1 MB Notification: Performance of matching and sorting (n=107): time 0.1904/0.3174, allocations: 2.992 MB / 372.7 MB, free: 19.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.3175, allocations: 69.33 kB / 372.8 MB, free: 19.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.3178, allocations: 279.5 kB / 373 MB, free: 19.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.3178, allocations: 43.64 kB / 373.1 MB, free: 19.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.318, allocations: 201.7 kB / 373.3 MB, free: 19.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.3182, allocations: 362.9 kB / 373.6 MB, free: 19.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.3184, allocations: 152.9 kB / 373.8 MB, free: 19.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.3185, allocations: 360.9 kB / 374.1 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004375/0.3189, allocations: 243.2 kB / 374.4 MB, free: 18.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004783/0.3194, allocations: 314.9 kB / 374.7 MB, free: 18.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009368/0.3204, allocations: 0.5763 MB / 375.3 MB, free: 18.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3204, allocations: 3.75 kB / 375.3 MB, free: 18.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00108/0.3215, allocations: 0.7289 MB / 376 MB, free: 18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.3215, allocations: 6.281 kB / 376 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3215, allocations: 1.312 kB / 376 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.3215, allocations: 6.688 kB / 376 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000719/0.3223, allocations: 200.7 kB / 376.2 MB, free: 17.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.3223, allocations: 5.281 kB / 376.2 MB, free: 17.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/0.3226, allocations: 34.12 kB / 376.2 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.968e-05/0.3227, allocations: 29.86 kB / 376.3 MB, free: 17.97 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.0002171/0.3229, allocations: 202.3 kB / 376.5 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.061e-05/0.323, allocations: 60.03 kB / 376.5 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.3231, allocations: 77.53 kB / 376.6 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.3232, allocations: 10.22 kB / 376.6 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.949e-05/0.3232, allocations: 0 / 376.6 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.3232, allocations: 10.2 kB / 376.6 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002512/0.3257, allocations: 1.949 MB / 378.6 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.3257, allocations: 5.062 kB / 378.6 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007137/0.3265, allocations: 198.5 kB / 378.8 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.3265, allocations: 8.531 kB / 378.8 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.585e-05/0.3265, allocations: 29.27 kB / 378.8 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/0.3265, allocations: 10.16 kB / 378.8 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.3266, allocations: 8.531 kB / 378.8 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.3281, allocations: 1.287 MB / 380.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.836e-05/0.3282, allocations: 129.8 kB / 380.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.501e-05/0.3283, allocations: 23.41 kB / 380.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.3286, allocations: 38.92 kB / 380.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.3287, allocations: 71.59 kB / 380.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.483e-05/0.3288, allocations: 36.31 kB / 380.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001623/0.329, allocations: 195.9 kB / 380.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.329, allocations: 5.344 kB / 380.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005291/0.3295, allocations: 158.4 kB / 380.7 MB, free: 15.54 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.0001399/0.3297, allocations: 136.1 kB / 380.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.3313, allocations: 0.7095 MB / 381.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3313, allocations: 1.188 kB / 381.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005951/0.3319, allocations: 418.5 kB / 382 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008242/0.3327, allocations: 147.2 kB / 382.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.335, allocations: 1.553 MB / 383.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.3354, allocations: 0.8824 MB / 384.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003418/0.3357, allocations: 83.83 kB / 384.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.3359, allocations: 57.94 kB / 384.7 MB, free: 13.24 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3359, allocations: 0 / 384.7 MB, free: 13.24 MB / 302.1 MB Notification: Performance of Templates: time 0.01426/0.3502, allocations: 6.969 MB / 391.7 MB, free: 11.32 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/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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches