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.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.001764/0.001764, allocations: 80.95 kB / 21.99 MB, free: 5.18 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.002112/0.002112, allocations: 161.8 kB / 25.25 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 158.6 MB / 187 MB, free: 6.242 MB / 174.1 MB " [Timeout remaining time 178] 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.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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Friction") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 55.92 kB / 299.4 MB, free: 6.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2388, allocations: 49.15 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Friction): time 0.004273/0.2431, allocations: 2.771 MB / 351.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.2454, allocations: 1.162 MB / 352.4 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.2455, allocations: 11.94 kB / 352.4 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003831/0.2459, allocations: 83.3 kB / 352.5 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.2461, allocations: 114.9 kB / 352.6 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009263/0.2471, allocations: 423.1 kB / 353.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008195/0.2479, allocations: 0.7996 MB / 353.9 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.2481, allocations: 85.67 kB / 353.9 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004559/0.2485, allocations: 363.1 kB / 354.3 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.25, allocations: 1.314 MB / 355.6 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.2501, allocations: 68 kB / 355.7 MB, free: 8.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.2504, allocations: 115.9 kB / 355.8 MB, free: 8.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.2506, allocations: 235.8 kB / 356 MB, free: 7.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003357/0.2509, allocations: 294.5 kB / 356.3 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.252, allocations: 0.882 MB / 357.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.252, allocations: 0 / 357.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.252, allocations: 0 / 357.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.252, allocations: 0 / 357.2 MB, free: 6.812 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.003974/0.2559, allocations: 1.412 MB / 358.6 MB, free: 5.352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.256, allocations: 19.98 kB / 358.6 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.2561, allocations: 80.45 kB / 358.7 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006516/0.2568, allocations: 370.2 kB / 359.1 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.377e-05/0.2568, allocations: 29.38 kB / 359.1 MB, free: 4.836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.84e-05/0.2569, allocations: 40.33 kB / 359.1 MB, free: 4.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.2589, allocations: 1.157 MB / 360.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.2589, allocations: 0 / 360.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.978e-05/0.259, allocations: 20 kB / 360.3 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.259, allocations: 8 kB / 360.3 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002853/0.2619, allocations: 1.74 MB / 362 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004331/0.2662, allocations: 2.238 MB / 364.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.2679, allocations: 0.8913 MB / 365.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.2692, allocations: 0.7048 MB / 365.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.243e-05/0.2692, allocations: 8 kB / 365.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001504/0.2707, allocations: 0.9056 MB / 366.8 MB, free: 13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 2.073e-06/0.2707, allocations: 0 / 366.8 MB, free: 13 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.01166/0.2824, allocations: 5.425 MB / 372.2 MB, free: 7.508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.2825, allocations: 85.05 kB / 372.3 MB, free: 7.406 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.2837, allocations: 0.914 MB / 373.2 MB, free: 6.484 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-05/0.2838, allocations: 49.69 kB / 373.3 MB, free: 6.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.284, allocations: 296.6 kB / 373.6 MB, free: 6.133 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.2842, allocations: 174.7 kB / 373.7 MB, free: 5.961 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.2845, allocations: 126.2 kB / 373.8 MB, free: 5.832 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.2847, allocations: 378.8 kB / 374.2 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.2861, allocations: 0.8408 MB / 375.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.2875, allocations: 0.9324 MB / 376 MB, free: 3.648 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002312/0.2898, allocations: 1.476 MB / 377.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2898, allocations: 0 / 377.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.004129/0.294, allocations: 2.479 MB / 379.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.294, allocations: 4.156 kB / 380 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.294, allocations: 8.031 kB / 380 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002345/0.2964, allocations: 1.908 MB / 381.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000521/0.2969, allocations: 111.8 kB / 382 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00806/0.3049, allocations: 6.428 MB / 388.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.3064, allocations: 227.8 kB / 388.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.284e-05/0.3065, allocations: 23.98 kB / 388.6 MB, free: 6.703 MB / 350.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.0004014/0.3069, allocations: 256.3 kB / 388.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.307, allocations: 75.52 kB / 389 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.3072, allocations: 102.2 kB / 389.1 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3072, allocations: 4 kB / 389.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3072, allocations: 3.984 kB / 389.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3072, allocations: 4 kB / 389.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004244/0.3114, allocations: 2.891 MB / 392 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3115, allocations: 3.938 kB / 392 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004954/0.3119, allocations: 92.05 kB / 392.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002102/0.314, allocations: 1.865 MB / 393.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.096e-05/0.3141, allocations: 27.97 kB / 394 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007495/0.3216, allocations: 6.054 MB / 400 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.3216, allocations: 4.031 kB / 400 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005357/0.327, allocations: 3.219 MB / 403.2 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003548/0.3273, allocations: 139.4 kB / 403.4 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.3274, allocations: 20 kB / 403.4 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001792/0.3292, allocations: 267.6 kB / 403.7 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001498/0.3307, allocations: 0.5811 MB / 404.2 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.011e-05/0.3308, allocations: 27.95 kB / 404.3 MB, free: 6.738 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007677/0.3316, allocations: 0.667 MB / 404.9 MB, free: 6.078 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3316, allocations: 0 / 404.9 MB, free: 6.078 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008478/0.3324, allocations: 191.9 kB / 405.1 MB, free: 5.891 MB / 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002972/0.3327, allocations: 151.1 kB / 405.3 MB, free: 5.734 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003192/0.3359, allocations: 1.879 MB / 407.1 MB, free: 3.832 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3359, allocations: 0 / 407.1 MB, free: 3.832 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.3378, allocations: 1.076 MB / 408.2 MB, free: 2.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005923/0.3384, allocations: 79.22 kB / 408.3 MB, free: 2.648 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004311/0.3427, allocations: 1.977 MB / 410.3 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.343, allocations: 314.7 kB / 410.6 MB, free: 308 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002017/0.3432, allocations: 43.28 kB / 410.6 MB, free: 268 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.3434, allocations: 44.42 kB / 410.7 MB, free: 224 kB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3434, allocations: 0 / 410.7 MB, free: 224 kB / 366.1 MB Notification: Performance of Templates: time 0.03208/0.3754, allocations: 19.6 MB / 430.3 MB, free: 12.52 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Friction.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Friction.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.433089744998142]