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.001066/0.001066, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001182/0.001182, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.00123, allocations: 64.61 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08768/0.08893, allocations: 50.52 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004515/0.09349, allocations: 3.642 MB / 362.5 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.09513, allocations: 0.9704 MB / 363.5 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.09533, allocations: 8 kB / 363.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.09555, allocations: 87.09 kB / 363.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.09582, allocations: 154.6 kB / 363.8 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.09624, allocations: 163.7 kB / 363.9 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005377/0.09679, allocations: 0.6307 MB / 364.5 MB, free: 7.656 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002746/0.09707, allocations: 189.5 kB / 364.7 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003142/0.09739, allocations: 251.1 kB / 365 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.09771, allocations: 282.8 kB / 365.3 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.925e-05/0.09779, allocations: 52 kB / 365.3 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.0979, allocations: 52 kB / 365.4 MB, free: 6.852 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.453e-05/0.098, allocations: 127.6 kB / 365.5 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.09823, allocations: 278.6 kB / 365.8 MB, free: 6.453 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005334/0.09877, allocations: 0.6305 MB / 366.4 MB, free: 5.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.09878, allocations: 0 / 366.4 MB, free: 5.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.09879, allocations: 0 / 366.4 MB, free: 5.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.09881, allocations: 0 / 366.4 MB, free: 5.82 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.001397/0.1002, allocations: 0.8301 MB / 367.2 MB, free: 4.938 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.1002, allocations: 8.031 kB / 367.2 MB, free: 4.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.1005, allocations: 72.27 kB / 367.3 MB, free: 4.859 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/0.1009, allocations: 354.6 kB / 367.6 MB, free: 4.469 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.1009, allocations: 37 kB / 367.7 MB, free: 4.434 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.908e-05/0.101, allocations: 48 kB / 367.7 MB, free: 4.387 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006814/0.1017, allocations: 422.3 kB / 368.1 MB, free: 3.965 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.1018, allocations: 0 / 368.1 MB, free: 3.965 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.1018, allocations: 20 kB / 368.2 MB, free: 3.945 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.1018, allocations: 16 kB / 368.2 MB, free: 3.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007016/0.1025, allocations: 391.7 kB / 368.6 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.1048, allocations: 1.382 MB / 369.9 MB, free: 2.098 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000751/0.1055, allocations: 0.512 MB / 370.4 MB, free: 1.574 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005859/0.1061, allocations: 352 kB / 370.8 MB, free: 1.227 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.598e-05/0.1062, allocations: 8.656 kB / 370.8 MB, free: 1.219 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.1062, allocations: 39.22 kB / 370.8 MB, free: 1.172 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 1.824e-06/0.1062, allocations: 0 / 370.8 MB, free: 1.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=107): time 0.164/0.2702, allocations: 2.994 MB / 373.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.2703, allocations: 62.47 kB / 373.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/0.2706, allocations: 281.8 kB / 374.2 MB, free: 19.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.2706, allocations: 41.02 kB / 374.2 MB, free: 19.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.172e-05/0.2707, allocations: 202.6 kB / 374.4 MB, free: 19.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.2709, allocations: 366.5 kB / 374.8 MB, free: 19.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.2711, allocations: 151.8 kB / 374.9 MB, free: 19.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.156e-05/0.2712, allocations: 367.9 kB / 375.3 MB, free: 19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.2716, allocations: 237.8 kB / 375.5 MB, free: 18.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004924/0.2721, allocations: 317.9 kB / 375.8 MB, free: 18.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008132/0.2729, allocations: 0.5768 MB / 376.4 MB, free: 18.51 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.2729, allocations: 0.875 kB / 376.4 MB, free: 18.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001019/0.2739, allocations: 0.7333 MB / 377.1 MB, free: 18.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.274, allocations: 5.594 kB / 377.1 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.274, allocations: 0.625 kB / 377.1 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.274, allocations: 6.516 kB / 377.1 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007496/0.2747, allocations: 196 kB / 377.3 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.2748, allocations: 9.781 kB / 377.3 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.2751, allocations: 32.16 kB / 377.4 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.2751, allocations: 36.92 kB / 377.4 MB, free: 18.16 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.0001825/0.2753, allocations: 196.7 kB / 377.6 MB, free: 17.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.581e-05/0.2754, allocations: 56.19 kB / 377.7 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.2755, allocations: 79.53 kB / 377.7 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.2756, allocations: 10.31 kB / 377.7 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.2756, allocations: 0.8125 kB / 377.7 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.2756, allocations: 6.625 kB / 377.7 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.278, allocations: 1.933 MB / 379.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.278, allocations: 4.531 kB / 379.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007512/0.2788, allocations: 194.8 kB / 379.9 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.958e-06/0.2788, allocations: 13.92 kB / 379.9 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/0.2789, allocations: 27.14 kB / 379.9 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.979e-06/0.2789, allocations: 10.28 kB / 379.9 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.2789, allocations: 12.94 kB / 379.9 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.2804, allocations: 1.287 MB / 381.2 MB, free: 16.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.888e-05/0.2805, allocations: 131.2 kB / 381.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.29e-05/0.2806, allocations: 27.84 kB / 381.4 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003298/0.281, allocations: 28.84 kB / 381.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.2811, allocations: 76.83 kB / 381.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/0.2812, allocations: 38.56 kB / 381.5 MB, free: 15.9 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.2813, allocations: 196 kB / 381.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2813, allocations: 0 / 381.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004645/0.2818, allocations: 158.9 kB / 381.9 MB, free: 15.77 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.0001234/0.2819, allocations: 134.1 kB / 382 MB, free: 15.65 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009943/0.2829, allocations: 0.6785 MB / 382.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.2829, allocations: 1.406 kB / 382.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005621/0.2835, allocations: 420.6 kB / 383.1 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007615/0.2843, allocations: 142.2 kB / 383.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.2862, allocations: 1.542 MB / 384.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.2866, allocations: 0.8822 MB / 385.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002776/0.2869, allocations: 83.48 kB / 385.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.287, allocations: 61.8 kB / 385.8 MB, free: 13.49 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.287, allocations: 1.406 kB / 385.8 MB, free: 13.49 MB / 302.1 MB Notification: Performance of Templates: time 0.01182/0.2989, allocations: 6.954 MB / 392.7 MB, free: 11.52 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 -s gbode -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