Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Friction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00181/0.00181, allocations: 110.5 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002151/0.002151, allocations: 219.9 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.416/1.416, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/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.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-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.Friction") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.84 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2156, allocations: 53.31 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Friction): time 0.004682/0.2202, allocations: 3.139 MB / 435.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.2224, allocations: 1.359 MB / 436.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.2226, allocations: 11.94 kB / 436.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003912/0.2229, allocations: 99.16 kB / 436.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.2232, allocations: 126.9 kB / 436.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007827/0.224, allocations: 418.3 kB / 437.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008188/0.2248, allocations: 0.8192 MB / 438 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.2249, allocations: 65.58 kB / 438.1 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004939/0.2254, allocations: 375.1 kB / 438.4 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.227, allocations: 1.471 MB / 439.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.2272, allocations: 68 kB / 440 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00023/0.2274, allocations: 139.9 kB / 440.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000237/0.2276, allocations: 231.8 kB / 440.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003355/0.228, allocations: 358 kB / 440.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000954/0.2289, allocations: 0.912 MB / 441.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2289, allocations: 0 / 441.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2289, allocations: 0 / 441.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.2289, allocations: 0 / 441.6 MB, free: 13.81 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.004082/0.233, allocations: 1.514 MB / 443.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.233, allocations: 8.031 kB / 443.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004952/0.2335, allocations: 108.4 kB / 443.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006369/0.2342, allocations: 440 kB / 443.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/0.2342, allocations: 33.38 kB / 443.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.2343, allocations: 36.38 kB / 443.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.2359, allocations: 0.642 MB / 444.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.2359, allocations: 7.938 kB / 444.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.692e-05/0.236, allocations: 16 kB / 444.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.236, allocations: 8 kB / 444.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.238, allocations: 0.6976 MB / 445.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00375/0.2418, allocations: 1.659 MB / 446.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.2432, allocations: 483.9 kB / 447.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008809/0.2441, allocations: 293.8 kB / 447.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.048e-05/0.2442, allocations: 7.938 kB / 447.5 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/0.2454, allocations: 486.3 kB / 448 MB, free: 7.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 1.683e-06/0.2454, allocations: 0 / 448 MB, free: 7.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.00955/0.2549, allocations: 2.818 MB / 450.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.255, allocations: 85.05 kB / 450.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009872/0.256, allocations: 0.9181 MB / 451.8 MB, free: 3.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.215e-05/0.2561, allocations: 49.69 kB / 451.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/0.2563, allocations: 304.6 kB / 452.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.2565, allocations: 182.7 kB / 452.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/0.2567, allocations: 122.2 kB / 452.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.2569, allocations: 382.7 kB / 452.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000959/0.2579, allocations: 321.1 kB / 453.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.2589, allocations: 418.9 kB / 453.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.2605, allocations: 0.5067 MB / 454.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.2605, allocations: 0 / 454.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002898/0.2634, allocations: 0.9758 MB / 455 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2634, allocations: 7.938 kB / 455 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.2634, allocations: 7.938 kB / 455.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.2645, allocations: 0.5452 MB / 455.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005538/0.2651, allocations: 119.8 kB / 455.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006621/0.2717, allocations: 4.737 MB / 460.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.2732, allocations: 227.8 kB / 460.7 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.856e-05/0.2733, allocations: 20 kB / 460.7 MB, free: 9.871 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.0003738/0.2736, allocations: 256 kB / 460.9 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.2738, allocations: 79.5 kB / 461 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/0.274, allocations: 102.2 kB / 461.1 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.274, allocations: 7.984 kB / 461.1 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.274, allocations: 0 / 461.1 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.2743, allocations: 212.5 kB / 461.3 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.2745, allocations: 23.94 kB / 461.4 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/0.2763, allocations: 287.6 kB / 461.6 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003952/0.2767, allocations: 159.8 kB / 461.8 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003759/0.2805, allocations: 1.028 MB / 462.8 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002886/0.2833, allocations: 1.148 MB / 464 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009315/0.2843, allocations: 288.3 kB / 464.3 MB, free: 6.246 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007354/0.285, allocations: 0.6709 MB / 464.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of Backend: time 4.31e-07/0.285, allocations: 0 / 464.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004019/0.289, allocations: 1.275 MB / 466.2 MB, free: 4.504 MB / 366.1 MB Notification: Performance of SimCode: time 0.002408/0.2914, allocations: 1.974 MB / 468.2 MB, free: 2.473 MB / 366.1 MB Notification: Performance of Templates: time 0.02385/0.3153, allocations: 14.61 MB / 482.8 MB, free: 3.902 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Friction.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Friction.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Friction.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Friction.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Friction.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Friction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Friction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Friction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Friction/Friction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.682745257392526]