Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001896/0.001895, allocations: 113.2 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001975/0.001976, allocations: 188.2 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 55.94 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1067, allocations: 46.62 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005838/0.1126, allocations: 3.505 MB / 378.6 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.1147, allocations: 0.9159 MB / 379.6 MB, free: 132 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.1149, allocations: 11.94 kB / 379.6 MB, free: 120 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.1152, allocations: 79.22 kB / 379.6 MB, free: 40 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.202/0.3172, allocations: 140.3 kB / 379.8 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007962/0.3181, allocations: 158.5 kB / 379.9 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007208/0.3188, allocations: 0.5961 MB / 380.5 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003781/0.3192, allocations: 194.3 kB / 380.7 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003575/0.3196, allocations: 242.2 kB / 381 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003435/0.3199, allocations: 274.5 kB / 381.2 MB, free: 9.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.515e-05/0.32, allocations: 50.53 kB / 381.3 MB, free: 9.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.3201, allocations: 56.12 kB / 381.3 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.3203, allocations: 113.9 kB / 381.4 MB, free: 9.574 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002919/0.3206, allocations: 268.5 kB / 381.7 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007769/0.3213, allocations: 0.603 MB / 382.3 MB, free: 9.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.3214, allocations: 1.203 kB / 382.3 MB, free: 9.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3214, allocations: 0 / 382.3 MB, free: 9.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.3214, allocations: 0.5 kB / 382.3 MB, free: 9.406 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001736/0.3231, allocations: 0.844 MB / 383.2 MB, free: 8.895 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3232, allocations: 8.875 kB / 383.2 MB, free: 8.895 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.3233, allocations: 56.94 kB / 383.2 MB, free: 8.867 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004884/0.3238, allocations: 335.9 kB / 383.6 MB, free: 8.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.816e-05/0.3239, allocations: 36.47 kB / 383.6 MB, free: 8.625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.324, allocations: 48.97 kB / 383.6 MB, free: 8.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009651/0.3249, allocations: 447.1 kB / 384.1 MB, free: 8.582 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.325, allocations: 11.38 kB / 384.1 MB, free: 8.574 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.258e-05/0.325, allocations: 17.75 kB / 384.1 MB, free: 8.574 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.325, allocations: 17.12 kB / 384.1 MB, free: 8.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.3262, allocations: 456.8 kB / 384.6 MB, free: 8.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.3285, allocations: 1.379 MB / 385.9 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009475/0.3295, allocations: 0.5451 MB / 386.5 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008249/0.3303, allocations: 369.9 kB / 386.8 MB, free: 7.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.376e-05/0.3304, allocations: 13.47 kB / 386.9 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.3304, allocations: 45.81 kB / 386.9 MB, free: 7.383 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 1.693e-06/0.3304, allocations: 0 / 386.9 MB, free: 7.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=103): time 0.007845/0.3383, allocations: 3.132 MB / 390 MB, free: 5.984 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.3383, allocations: 62.69 kB / 390.1 MB, free: 5.922 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.3387, allocations: 254.8 kB / 390.3 MB, free: 5.773 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.75e-05/0.3387, allocations: 41.52 kB / 390.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.3388, allocations: 200.9 kB / 390.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.339, allocations: 350 kB / 390.9 MB, free: 5.293 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.3393, allocations: 142.2 kB / 391.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.3394, allocations: 366.4 kB / 391.4 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005823/0.34, allocations: 274.8 kB / 391.7 MB, free: 4.793 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005957/0.3406, allocations: 351.2 kB / 392 MB, free: 4.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.3417, allocations: 0.6217 MB / 392.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3418, allocations: 1.125 kB / 392.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001466/0.3432, allocations: 0.7809 MB / 393.4 MB, free: 4.086 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3433, allocations: 5.938 kB / 393.4 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.3433, allocations: 2.938 kB / 393.4 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.3433, allocations: 9.781 kB / 393.5 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008234/0.3441, allocations: 208.8 kB / 393.7 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.3441, allocations: 4.562 kB / 393.7 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004008/0.3446, allocations: 51.88 kB / 393.7 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.068e-05/0.3446, allocations: 25.83 kB / 393.7 MB, free: 4.039 MB / 318.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 (113): * Single equations (assignments): 113 * 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.0002705/0.3449, allocations: 199 kB / 393.9 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.345, allocations: 51.42 kB / 394 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.3452, allocations: 71.17 kB / 394.1 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.3452, allocations: 14.86 kB / 394.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/0.3452, allocations: 1.188 kB / 394.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.3452, allocations: 8.672 kB / 394.1 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/0.348, allocations: 1.981 MB / 396.1 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.348, allocations: 4.125 kB / 396.1 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008046/0.3488, allocations: 205.8 kB / 396.3 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.3488, allocations: 9.047 kB / 396.3 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-05/0.3489, allocations: 29.78 kB / 396.3 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-05/0.3489, allocations: 13 kB / 396.3 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.475e-06/0.3489, allocations: 11.98 kB / 396.3 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.351, allocations: 1.371 MB / 397.7 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.906e-05/0.3511, allocations: 121.8 kB / 397.8 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.551e-05/0.3512, allocations: 27.42 kB / 397.8 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.3516, allocations: 52.52 kB / 397.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.3517, allocations: 79.45 kB / 398 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.087e-05/0.3518, allocations: 30.34 kB / 398 MB, free: 1.734 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.3519, allocations: 178.4 kB / 398.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.352, allocations: 0 / 398.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000514/0.3525, allocations: 159.2 kB / 398.3 MB, free: 1.598 MB / 318.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 (103): * Single equations (assignments): 103 * 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.0001594/0.3526, allocations: 130.3 kB / 398.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001473/0.3541, allocations: 0.7349 MB / 399.2 MB, free: 1.254 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3541, allocations: 1.156 kB / 399.2 MB, free: 1.254 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007837/0.3549, allocations: 446.7 kB / 399.6 MB, free: 1.117 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007918/0.3557, allocations: 122.7 kB / 399.8 MB, free: 1.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.3582, allocations: 1.515 MB / 401.3 MB, free: 92 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004986/0.3587, allocations: 0.8685 MB / 402.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000319/0.3591, allocations: 77.94 kB / 402.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.3592, allocations: 59.42 kB / 402.3 MB, free: 15.35 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3592, allocations: 0 / 402.3 MB, free: 15.35 MB / 334.1 MB Notification: Performance of Templates: time 0.0191/0.3783, allocations: 6.668 MB / 408.9 MB, free: 12.25 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches