Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Friction.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.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mass.s|mass.v|stop1.s|stop1.v|stop2.s|stop2.v|stop1.mode|stop1.startBackward|stop1.startForward|stop2.mode|stop2.startBackward|stop2.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Friction") translateModel(Modelica.Mechanics.Translational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mass.s|mass.v|stop1.s|stop1.v|stop2.s|stop2.v|stop1.mode|stop1.startBackward|stop1.startForward|stop2.mode|stop2.startBackward|stop2.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Friction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 107.8 kB / 18.36 MB, free: 4.844 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.001123/0.001123, allocations: 184.2 kB / 19.29 MB, free: 3.918 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.275/1.275, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001154/0.001154, allocations: 51.94 kB / 329.1 MB, free: 3.363 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0726/0.07376, allocations: 46.62 MB / 375.7 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Friction): time 0.003613/0.07741, allocations: 2.983 MB / 378.7 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.07921, allocations: 1.209 MB / 379.9 MB, free: 428 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.07935, allocations: 4 kB / 379.9 MB, free: 424 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.07969, allocations: 83.28 kB / 380 MB, free: 340 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.07988, allocations: 114.9 kB / 380.1 MB, free: 224 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1473/0.2272, allocations: 406.6 kB / 380.5 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000787/0.228, allocations: 0.7995 MB / 381.3 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.2281, allocations: 97.95 kB / 381.4 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003748/0.2285, allocations: 362.8 kB / 381.8 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.23, allocations: 1.341 MB / 383.1 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.2301, allocations: 67.53 kB / 383.2 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.2303, allocations: 117.4 kB / 383.3 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.2305, allocations: 233 kB / 383.5 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000286/0.2308, allocations: 351.4 kB / 383.9 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007719/0.2316, allocations: 0.8706 MB / 384.7 MB, free: 9.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2316, allocations: 0 / 384.7 MB, free: 9.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2316, allocations: 1.094 kB / 384.7 MB, free: 9.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.2317, allocations: 0 / 384.7 MB, free: 9.32 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.003675/0.2353, allocations: 1.32 MB / 386.1 MB, free: 8.676 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2354, allocations: 9.922 kB / 386.1 MB, free: 8.676 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.2355, allocations: 74.03 kB / 386.2 MB, free: 8.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/0.236, allocations: 431.4 kB / 386.6 MB, free: 8.352 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.739e-05/0.2361, allocations: 26.97 kB / 386.6 MB, free: 8.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.2362, allocations: 41.91 kB / 386.6 MB, free: 8.348 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.2383, allocations: 1.163 MB / 387.8 MB, free: 8.141 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.2383, allocations: 2.141 kB / 387.8 MB, free: 8.141 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.771e-05/0.2384, allocations: 16.22 kB / 387.8 MB, free: 8.129 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.2384, allocations: 8.719 kB / 387.8 MB, free: 8.129 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002652/0.2411, allocations: 1.746 MB / 389.6 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004152/0.2452, allocations: 2.477 MB / 392.1 MB, free: 6.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.2469, allocations: 0.9024 MB / 393 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.248, allocations: 0.7154 MB / 393.7 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.768e-05/0.2481, allocations: 8.938 kB / 393.7 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001432/0.2495, allocations: 0.9004 MB / 394.6 MB, free: 6.191 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 2.274e-06/0.2495, allocations: 0 / 394.6 MB, free: 6.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.01107/0.2606, allocations: 5.794 MB / 400.4 MB, free: 4.367 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.2606, allocations: 87.88 kB / 400.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009925/0.2616, allocations: 0.9085 MB / 401.4 MB, free: 3.844 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.42e-05/0.2617, allocations: 49.38 kB / 401.4 MB, free: 3.797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.2619, allocations: 295.2 kB / 401.7 MB, free: 3.535 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.262, allocations: 173.7 kB / 401.9 MB, free: 3.391 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.2622, allocations: 115.8 kB / 402 MB, free: 3.316 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.514e-05/0.2623, allocations: 383.2 kB / 402.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.2635, allocations: 0.8425 MB / 403.2 MB, free: 2.695 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.2647, allocations: 0.9388 MB / 404.1 MB, free: 1.895 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.2665, allocations: 1.463 MB / 405.6 MB, free: 420 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2665, allocations: 4 kB / 405.6 MB, free: 416 kB / 318.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003755/0.2702, allocations: 2.493 MB / 408.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.2703, allocations: 11.28 kB / 408.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2703, allocations: 0 / 408.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002009/0.2723, allocations: 1.893 MB / 410 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005482/0.2729, allocations: 115.7 kB / 410.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007339/0.2802, allocations: 6.698 MB / 416.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.2817, allocations: 231.3 kB / 417 MB, free: 4.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-05/0.2818, allocations: 23.98 kB / 417.1 MB, free: 4.699 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 28 (supportFriction.free,supportFriction.mode,$PRE.supportFriction.mode,supportFriction.locked,supportFriction.startBackward,$PRE.supportFriction.startBackward,supportFriction.startForward,$PRE.supportFriction.startForward,stop1.stopped,stop1.mode,$PRE.stop1.mode,stop1.locked,stop1.startBackward,$PRE.stop1.startBackward,stop1.startForward,$PRE.stop1.startForward,stop1.free,$whenCondition2,stop2.stopped,stop2.mode,$PRE.stop2.mode,stop2.locked,stop2.startBackward,$PRE.stop2.startBackward,stop2.startForward,$PRE.stop2.startForward,stop2.free,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,6), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003856/0.2822, allocations: 271.6 kB / 417.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.2824, allocations: 67.16 kB / 417.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.2826, allocations: 102.2 kB / 417.5 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.2826, allocations: 8.5 kB / 417.5 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2826, allocations: 0 / 417.5 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/0.2829, allocations: 200.1 kB / 417.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.283, allocations: 27.98 kB / 417.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/0.2848, allocations: 287.5 kB / 418 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003979/0.2853, allocations: 167.7 kB / 418.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004497/0.2898, allocations: 2.286 MB / 420.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003864/0.2936, allocations: 2.681 MB / 423.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001217/0.2949, allocations: 0.7106 MB / 423.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006772/0.2956, allocations: 0.6776 MB / 424.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of Backend: time 5.61e-07/0.2956, allocations: 0 / 424.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00248/0.2981, allocations: 1.349 MB / 425.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of SimCode: time 0.00213/0.3002, allocations: 1.923 MB / 427.8 MB, free: 9.867 MB / 350.1 MB Notification: Performance of Templates: time 0.03003/0.3302, allocations: 20.77 MB / 448.6 MB, free: 5.098 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Friction.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Friction.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Friction.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Friction.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Friction.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Friction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Friction.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Friction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Friction/Friction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Friction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches