Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 102.8 kB / 21.19 MB, free: 0.6367 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 221.1 kB / 24.5 MB, free: 3.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_4.1.0_Modelica.Mechanics.Translational.Examples.Friction") translateModel(Modelica.Mechanics.Translational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_4.1.0_Modelica.Mechanics.Translational.Examples.Friction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 55.92 kB / 379 MB, free: 2.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2172, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Friction): time 0.004299/0.2215, allocations: 2.9 MB / 435.2 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.2236, allocations: 1.286 MB / 436.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.2237, allocations: 7.938 kB / 436.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003904/0.2241, allocations: 103.2 kB / 436.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.2244, allocations: 122.9 kB / 436.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008113/0.2252, allocations: 430.5 kB / 437.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007936/0.226, allocations: 0.8192 MB / 438 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.2262, allocations: 73.69 kB / 438.1 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005153/0.2267, allocations: 379.2 kB / 438.4 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.2283, allocations: 1.471 MB / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.2284, allocations: 68 kB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/0.2286, allocations: 139.9 kB / 440.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.2289, allocations: 235.8 kB / 440.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002912/0.2292, allocations: 302.4 kB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009625/0.2301, allocations: 0.9239 MB / 441.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2301, allocations: 0 / 441.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2301, allocations: 4 kB / 441.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2301, allocations: 0 / 441.6 MB, free: 13.45 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.003975/0.2341, allocations: 1.431 MB / 443 MB, free: 11.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2342, allocations: 8.031 kB / 443 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00052/0.2347, allocations: 112.3 kB / 443.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006107/0.2353, allocations: 382.2 kB / 443.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.999e-05/0.2353, allocations: 33.36 kB / 443.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.2354, allocations: 40.31 kB / 443.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.237, allocations: 0.6381 MB / 444.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.237, allocations: 3.953 kB / 444.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.493e-05/0.2371, allocations: 16 kB / 444.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.2371, allocations: 12 kB / 444.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.2392, allocations: 0.6857 MB / 444.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003506/0.2427, allocations: 1.429 MB / 446.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.2441, allocations: 486.8 kB / 446.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008639/0.2449, allocations: 285.6 kB / 447.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.643e-05/0.245, allocations: 8 kB / 447.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/0.2462, allocations: 482.9 kB / 447.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 1.933e-06/0.2462, allocations: 4 kB / 447.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.009125/0.2553, allocations: 2.443 MB / 450 MB, free: 4.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.2554, allocations: 81.11 kB / 450.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009828/0.2563, allocations: 0.918 MB / 451 MB, free: 3.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.858e-05/0.2564, allocations: 45.7 kB / 451.1 MB, free: 3.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.2567, allocations: 296.6 kB / 451.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.2569, allocations: 174.7 kB / 451.5 MB, free: 3.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.2571, allocations: 122.3 kB / 451.6 MB, free: 3.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.2573, allocations: 382.8 kB / 452 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009471/0.2582, allocations: 321.1 kB / 452.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009943/0.2592, allocations: 415 kB / 452.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.2607, allocations: 0.5117 MB / 453.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2607, allocations: 0 / 453.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002844/0.2636, allocations: 0.9946 MB / 454.2 MB, free: 404 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2636, allocations: 8 kB / 454.2 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.2636, allocations: 7.984 kB / 454.3 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.2647, allocations: 0.5412 MB / 454.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005235/0.2652, allocations: 115.8 kB / 454.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006302/0.2715, allocations: 4.458 MB / 459.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.2729, allocations: 235.7 kB / 459.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-05/0.273, allocations: 23.98 kB / 459.6 MB, free: 10.77 MB / 366.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,7), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003595/0.2734, allocations: 260.2 kB / 459.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.2735, allocations: 75.53 kB / 459.9 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.2737, allocations: 106.2 kB / 460.1 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.2737, allocations: 7.922 kB / 460.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2737, allocations: 0 / 460.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003299/0.2741, allocations: 127.6 kB / 460.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.2742, allocations: 28 kB / 460.2 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/0.2759, allocations: 279.6 kB / 460.5 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003944/0.2763, allocations: 171.7 kB / 460.7 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003683/0.28, allocations: 1.006 MB / 461.7 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002853/0.2829, allocations: 1.163 MB / 462.8 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000917/0.2838, allocations: 291.3 kB / 463.1 MB, free: 7.238 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007056/0.2845, allocations: 0.6631 MB / 463.8 MB, free: 6.582 MB / 366.1 MB Notification: Performance of Backend: time 2.8e-07/0.2845, allocations: 0 / 463.8 MB, free: 6.582 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00409/0.2886, allocations: 1.295 MB / 465.1 MB, free: 5.5 MB / 366.1 MB Notification: Performance of SimCode: time 0.002408/0.291, allocations: 1.986 MB / 467 MB, free: 3.457 MB / 366.1 MB Notification: Performance of Templates: time 0.02344/0.3144, allocations: 14.61 MB / 481.7 MB, free: 4.898 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Friction/Friction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Friction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.822073408999131]