Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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.0.0_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.001593/0.001593, allocations: 109 kB / 17.06 MB, free: 6.02 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.001881/0.001882, allocations: 191 kB / 18 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009808/0.0009808, allocations: 47.92 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2889, allocations: 49.44 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004167/0.2931, allocations: 3.543 MB / 404.3 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.2944, allocations: 0.8839 MB / 405.1 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.2945, allocations: 11.94 kB / 405.2 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.2947, allocations: 83.11 kB / 405.2 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.295, allocations: 142.7 kB / 405.4 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.2953, allocations: 151.7 kB / 405.5 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000486/0.2958, allocations: 0.5996 MB / 406.1 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002886/0.2961, allocations: 193.5 kB / 406.3 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.2964, allocations: 235.2 kB / 406.5 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.2967, allocations: 274.8 kB / 406.8 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.81e-05/0.2967, allocations: 52 kB / 406.9 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.121e-05/0.2968, allocations: 52 kB / 406.9 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.228e-05/0.2969, allocations: 115.6 kB / 407 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.2971, allocations: 274.7 kB / 407.3 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004828/0.2976, allocations: 0.5928 MB / 407.9 MB, free: 1.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.2976, allocations: 4 kB / 407.9 MB, free: 1.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2976, allocations: 0 / 407.9 MB, free: 1.664 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.2976, allocations: 0 / 407.9 MB, free: 1.664 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.00153/0.2992, allocations: 0.8458 MB / 408.7 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.2992, allocations: 8.031 kB / 408.7 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.982e-05/0.2993, allocations: 60.28 kB / 408.8 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.2997, allocations: 327.2 kB / 409.1 MB, free: 356 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/0.2998, allocations: 37.38 kB / 409.2 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.37e-05/0.2999, allocations: 48.38 kB / 409.2 MB, free: 272 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000895/0.3008, allocations: 454.7 kB / 409.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.3008, allocations: 8 kB / 409.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.612e-05/0.3009, allocations: 23.98 kB / 409.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.3009, allocations: 8 kB / 409.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.3019, allocations: 455.7 kB / 410.1 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002273/0.3042, allocations: 1.382 MB / 411.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009512/0.3051, allocations: 0.5326 MB / 412 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009451/0.3061, allocations: 375.7 kB / 412.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/0.3062, allocations: 12.55 kB / 412.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.3062, allocations: 39.06 kB / 412.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 1.904e-06/0.3062, allocations: 4 kB / 412.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=103): time 0.007882/0.3141, allocations: 3.13 MB / 415.6 MB, free: 9.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.3142, allocations: 60.41 kB / 415.7 MB, free: 9.617 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.3145, allocations: 254.9 kB / 415.9 MB, free: 9.363 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.3145, allocations: 45.7 kB / 416 MB, free: 9.312 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.3147, allocations: 193.3 kB / 416.1 MB, free: 9.121 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003288/0.315, allocations: 354.8 kB / 416.5 MB, free: 8.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.3152, allocations: 138.7 kB / 416.6 MB, free: 8.629 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.3154, allocations: 362.8 kB / 417 MB, free: 8.266 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005939/0.316, allocations: 273.8 kB / 417.2 MB, free: 7.996 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006794/0.3167, allocations: 361.2 kB / 417.6 MB, free: 7.637 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.318, allocations: 0.6196 MB / 418.2 MB, free: 7.012 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.318, allocations: 0 / 418.2 MB, free: 7.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001546/0.3195, allocations: 0.7858 MB / 419 MB, free: 6.215 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3195, allocations: 4 kB / 419 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3196, allocations: 0 / 419 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.3196, allocations: 11.92 kB / 419 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008662/0.3205, allocations: 211.7 kB / 419.2 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.3205, allocations: 4 kB / 419.2 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/0.3208, allocations: 44.03 kB / 419.3 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/0.3209, allocations: 31.98 kB / 419.3 MB, free: 5.914 MB / 334.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.0002344/0.3211, allocations: 193.6 kB / 419.5 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.788e-05/0.3212, allocations: 55.34 kB / 419.5 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.3214, allocations: 77.33 kB / 419.6 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.3214, allocations: 12 kB / 419.6 MB, free: 5.566 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.82e-05/0.3215, allocations: 4 kB / 419.6 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.3215, allocations: 3.984 kB / 419.6 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003306/0.3248, allocations: 1.983 MB / 421.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.3248, allocations: 4 kB / 421.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008284/0.3256, allocations: 212.3 kB / 421.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/0.3257, allocations: 8 kB / 421.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/0.3257, allocations: 27.92 kB / 421.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.098e-05/0.3257, allocations: 11.94 kB / 421.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-05/0.3258, allocations: 8 kB / 421.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002473/0.3283, allocations: 1.368 MB / 423.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.457e-05/0.3284, allocations: 120.5 kB / 423.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.388e-05/0.3285, allocations: 31.98 kB / 423.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/0.3289, allocations: 51.97 kB / 423.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.329, allocations: 72.78 kB / 423.5 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.654e-05/0.329, allocations: 32 kB / 423.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001576/0.3292, allocations: 189.8 kB / 423.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3292, allocations: 0 / 423.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000534/0.3297, allocations: 152 kB / 423.9 MB, free: 1.098 MB / 334.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.0001692/0.3299, allocations: 135 kB / 424 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001539/0.3315, allocations: 0.7308 MB / 424.8 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.3315, allocations: 8 kB / 424.8 MB, free: 224 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007916/0.3323, allocations: 446.7 kB / 425.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008686/0.3332, allocations: 128.8 kB / 425.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.3357, allocations: 1.519 MB / 426.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.3362, allocations: 0.8645 MB / 427.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002883/0.3365, allocations: 80.97 kB / 427.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.3367, allocations: 55.42 kB / 427.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3367, allocations: 0 / 427.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of Templates: time 0.01244/0.3492, allocations: 6.677 MB / 434.5 MB, free: 6.406 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches