Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.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.005493/0.005493, allocations: 109.6 kB / 21.98 MB, free: 5.184 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.001386/0.001386, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.48/1.48, allocations: 230.6 MB / 259 MB, free: 8.039 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.CompareBrakingForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|mass1.v|mass2.v|mass3.v|mass4.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|mass1.v|mass2.v|mass3.v|mass4.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") [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.002065/0.002065, allocations: 79.81 kB / 379.8 MB, free: 2.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2728, allocations: 53.36 MB / 433.2 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003802/0.2766, allocations: 2.381 MB / 435.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.2782, allocations: 0.7751 MB / 436.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.2783, allocations: 7.938 kB / 436.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.2785, allocations: 35.66 kB / 436.4 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.2788, allocations: 95.25 kB / 436.5 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.2791, allocations: 119.7 kB / 436.6 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.2795, allocations: 302.6 kB / 436.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.2797, allocations: 48.91 kB / 436.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.2798, allocations: 119.6 kB / 437 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.28, allocations: 127.4 kB / 437.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/0.2801, allocations: 20 kB / 437.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.078e-05/0.2801, allocations: 20 kB / 437.2 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.2802, allocations: 51.78 kB / 437.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.2803, allocations: 131.3 kB / 437.4 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.2806, allocations: 284 kB / 437.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2806, allocations: 0 / 437.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2806, allocations: 4 kB / 437.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.2806, allocations: 0 / 437.7 MB, free: 2.48 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009459/0.2816, allocations: 481.5 kB / 438.1 MB, free: 1.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2816, allocations: 16.03 kB / 438.1 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.213e-05/0.2817, allocations: 28.75 kB / 438.2 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.2821, allocations: 199.7 kB / 438.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.2821, allocations: 20.81 kB / 438.4 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.223e-05/0.2822, allocations: 20.38 kB / 438.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004643/0.2826, allocations: 243 kB / 438.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.2826, allocations: 3.953 kB / 438.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.2827, allocations: 12 kB / 438.7 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.2827, allocations: 7.938 kB / 438.7 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004043/0.2831, allocations: 163.4 kB / 438.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.2845, allocations: 0.9765 MB / 439.8 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005964/0.2851, allocations: 278.1 kB / 440.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.2853, allocations: 84.03 kB / 440.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.2853, allocations: 7.984 kB / 440.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.2853, allocations: 42.55 kB / 440.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.874e-06/0.2853, allocations: 4 kB / 440.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001976/0.2873, allocations: 1.036 MB / 441.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.45e-05/0.2874, allocations: 136.5 kB / 441.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.2876, allocations: 202.8 kB / 441.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.2876, allocations: 33.7 kB / 441.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.2878, allocations: 152.7 kB / 441.8 MB, free: 14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.2879, allocations: 134.8 kB / 441.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.288, allocations: 62.14 kB / 441.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.2881, allocations: 354.7 kB / 442.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.2883, allocations: 80.83 kB / 442.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.2886, allocations: 194 kB / 442.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005076/0.2891, allocations: 309.6 kB / 442.9 MB, free: 12.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2891, allocations: 4 kB / 442.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000651/0.2898, allocations: 341.1 kB / 443.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.2898, allocations: 8 kB / 443.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.2898, allocations: 4 kB / 443.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.2898, allocations: 4 kB / 443.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/0.2902, allocations: 91.89 kB / 443.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.2902, allocations: 15.92 kB / 443.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.2904, allocations: 20.19 kB / 443.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.2904, allocations: 16 kB / 443.4 MB, free: 12.28 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.2906, allocations: 145.7 kB / 443.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.2907, allocations: 23.86 kB / 443.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.919e-05/0.2908, allocations: 33.39 kB / 443.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2908, allocations: 4 kB / 443.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.2908, allocations: 4 kB / 443.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.2908, allocations: 7.922 kB / 443.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.2923, allocations: 0.9392 MB / 444.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2923, allocations: 0 / 444.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003877/0.2927, allocations: 83.89 kB / 444.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.2927, allocations: 4 kB / 444.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.2927, allocations: 8 kB / 444.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.2927, allocations: 4.25 kB / 444.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.2927, allocations: 8 kB / 444.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000899/0.2936, allocations: 0.7003 MB / 445.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.2937, allocations: 27.83 kB / 445.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.2937, allocations: 16 kB / 445.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.294, allocations: 8 kB / 445.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.2941, allocations: 35.83 kB / 445.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.2941, allocations: 15.94 kB / 445.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.2942, allocations: 144.6 kB / 445.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2942, allocations: 0 / 445.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004815/0.2947, allocations: 67.98 kB / 445.6 MB, free: 9.875 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001315/0.2948, allocations: 115.6 kB / 445.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005338/0.2954, allocations: 232.4 kB / 446 MB, free: 9.523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2954, allocations: 3.938 kB / 446 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.2956, allocations: 115.8 kB / 446.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007654/0.2964, allocations: 76.34 kB / 446.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.2981, allocations: 0.9848 MB / 447.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.2985, allocations: 0.7604 MB / 447.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.648e-05/0.2986, allocations: 31.42 kB / 447.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of SimCode: time 7.72e-07/0.2986, allocations: 0 / 447.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of Templates: time 0.00607/0.3046, allocations: 3.384 MB / 451.3 MB, free: 4.094 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/CompareBrakingForce/CompareBrakingForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.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: 7.575495335040614]