Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001619/0.001619, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001502/0.001502, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Friction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 64.08 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3036, allocations: 53.41 MB / 432.4 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Friction): time 0.00505/0.3086, allocations: 3.143 MB / 435.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002722/0.3114, allocations: 1.356 MB / 436.9 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002511/0.3116, allocations: 11.94 kB / 436.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005325/0.3121, allocations: 103.2 kB / 437 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.3124, allocations: 114.9 kB / 437.2 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.3135, allocations: 430.5 kB / 437.6 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.3145, allocations: 0.827 MB / 438.4 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.3147, allocations: 65.7 kB / 438.5 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006357/0.3153, allocations: 387.1 kB / 438.8 MB, free: 320 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00191/0.3172, allocations: 1.471 MB / 440.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.3174, allocations: 68 kB / 440.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003242/0.3177, allocations: 135.9 kB / 440.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002711/0.3179, allocations: 239.8 kB / 440.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003629/0.3183, allocations: 358.1 kB / 441.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.3195, allocations: 0.9118 MB / 442 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.3195, allocations: 0 / 442 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3195, allocations: 0 / 442 MB, free: 13.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.3195, allocations: 0 / 442 MB, free: 13.14 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.003998/0.3235, allocations: 1.439 MB / 443.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.3235, allocations: 8.031 kB / 443.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005235/0.3241, allocations: 108.4 kB / 443.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007608/0.3248, allocations: 374.2 kB / 443.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.28e-05/0.3249, allocations: 29.38 kB / 444 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.325, allocations: 36.38 kB / 444 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.3266, allocations: 0.6419 MB / 444.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.3266, allocations: 7.953 kB / 444.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.138e-05/0.3267, allocations: 16 kB / 444.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.3267, allocations: 11.98 kB / 444.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.3287, allocations: 0.6857 MB / 445.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003918/0.3326, allocations: 1.635 MB / 447 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.334, allocations: 481.2 kB / 447.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008176/0.3348, allocations: 285.6 kB / 447.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-05/0.3349, allocations: 12 kB / 447.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/0.3361, allocations: 490.2 kB / 448.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 2.855e-06/0.3361, allocations: 0 / 448.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.009/0.3451, allocations: 2.44 MB / 450.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.971e-05/0.3452, allocations: 93.03 kB / 450.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.3463, allocations: 0.9103 MB / 451.7 MB, free: 3.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.3464, allocations: 45.7 kB / 451.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.3466, allocations: 304.7 kB / 452 MB, free: 2.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.3468, allocations: 186.5 kB / 452.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002481/0.3471, allocations: 118.2 kB / 452.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002151/0.3473, allocations: 390.7 kB / 452.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009057/0.3482, allocations: 321.1 kB / 453 MB, free: 1.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.3493, allocations: 415 kB / 453.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.3508, allocations: 0.5108 MB / 453.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3508, allocations: 0 / 453.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002959/0.3538, allocations: 0.9759 MB / 454.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/0.3538, allocations: 15.92 kB / 454.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.3538, allocations: 0 / 454.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.355, allocations: 0.5489 MB / 455.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005552/0.3556, allocations: 111.8 kB / 455.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00708/0.3627, allocations: 4.528 MB / 460.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.3642, allocations: 223.8 kB / 460.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.3643, allocations: 27.98 kB / 460.3 MB, free: 10.15 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.0006282/0.365, allocations: 252.2 kB / 460.6 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/0.3652, allocations: 87.52 kB / 460.7 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/0.3655, allocations: 102.2 kB / 460.8 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.3655, allocations: 8 kB / 460.8 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.3655, allocations: 0 / 460.8 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.3655, allocations: 3.984 kB / 460.8 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003624/0.3691, allocations: 1.373 MB / 462.2 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.3692, allocations: 4.062 kB / 462.2 MB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004945/0.3696, allocations: 84 kB / 462.2 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001061/0.3707, allocations: 0.5215 MB / 462.8 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.716e-05/0.3708, allocations: 19.97 kB / 462.8 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00617/0.377, allocations: 4.16 MB / 466.9 MB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.377, allocations: 4.094 kB / 467 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003745/0.3807, allocations: 1.271 MB / 468.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004369/0.3811, allocations: 131.5 kB / 468.4 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.3813, allocations: 24 kB / 468.4 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/0.383, allocations: 267.6 kB / 468.6 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001473/0.3845, allocations: 0.5849 MB / 469.2 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.3846, allocations: 27.95 kB / 469.2 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000903/0.3855, allocations: 0.667 MB / 469.9 MB, free: 212 kB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3855, allocations: 0 / 469.9 MB, free: 212 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009314/0.3864, allocations: 187.9 kB / 470.1 MB, free: 24 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (stop2.s,stop2.v,stop1.s,stop1.v,mass.s,mass.v) * Number of discrete variables: 18 ($whenCondition1,stop2.free,stop2.startForward,stop2.startBackward,stop2.locked,stop2.mode,stop2.stopped,$whenCondition2,stop1.free,stop1.startForward,stop1.startBackward,stop1.locked,stop1.mode,stop1.stopped,supportFriction.startForward,supportFriction.startBackward,supportFriction.locked,supportFriction.mode) * Number of discrete states: 9 (supportFriction.mode,supportFriction.startForward,supportFriction.startBackward,stop1.mode,stop1.startBackward,stop1.startForward,stop2.mode,stop2.startBackward,stop2.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * 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,5), (1,5), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001588/0.388, allocations: 392.2 kB / 470.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002676/0.3907, allocations: 0.9298 MB / 471.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.3907, allocations: 0 / 471.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.3922, allocations: 0.6149 MB / 472 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007838/0.393, allocations: 86.39 kB / 472.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004978/0.3979, allocations: 1.944 MB / 474.1 MB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000781/0.3987, allocations: 0.9335 MB / 475 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.3989, allocations: 51.41 kB / 475 MB, free: 11.07 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3989, allocations: 3.938 kB / 475 MB, free: 11.07 MB / 382.1 MB Notification: Performance of Templates: time 0.02476/0.4237, allocations: 14.2 MB / 489.2 MB, free: 12.86 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 9.334103004075587]