Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.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.001719/0.001719, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002233/0.002233, allocations: 214.7 kB / 23.75 MB, free: 4.668 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.407/1.407, allocations: 230.6 MB / 257.5 MB, free: 7.992 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_CompareBrakingForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_CompareBrakingForce",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 47.92 kB / 377.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2622, allocations: 53.36 MB / 431.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003694/0.2659, allocations: 2.388 MB / 433.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.2674, allocations: 0.7712 MB / 434.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.2675, allocations: 7.938 kB / 434.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.2677, allocations: 43.58 kB / 434.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000263/0.2679, allocations: 87.27 kB / 434.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.2683, allocations: 115.7 kB / 434.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.2686, allocations: 306.7 kB / 434.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.2688, allocations: 52 kB / 434.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.2689, allocations: 111.5 kB / 435 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.2691, allocations: 135.4 kB / 435.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.485e-05/0.2691, allocations: 23.94 kB / 435.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.004e-05/0.2692, allocations: 24 kB / 435.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.2692, allocations: 51.77 kB / 435.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.2693, allocations: 131.3 kB / 435.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.2697, allocations: 267.2 kB / 435.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2697, allocations: 0 / 435.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2697, allocations: 0 / 435.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.2697, allocations: 7.922 kB / 435.6 MB, free: 2.34 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.0009054/0.2706, allocations: 489.4 kB / 436.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2706, allocations: 8.031 kB / 436.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.465e-05/0.2707, allocations: 62.72 kB / 436.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.634e-05/0.2707, allocations: 32.75 kB / 436.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.2711, allocations: 199.8 kB / 436.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.2711, allocations: 12.81 kB / 436.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.2712, allocations: 24.38 kB / 436.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004501/0.2716, allocations: 242.7 kB / 436.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.2717, allocations: 11.94 kB / 436.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.2717, allocations: 8 kB / 436.7 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.2717, allocations: 8 kB / 436.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003675/0.2721, allocations: 159.8 kB / 436.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.2735, allocations: 0.9804 MB / 437.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000549/0.274, allocations: 274.4 kB / 438.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.2742, allocations: 91.41 kB / 438.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.2742, allocations: 7.938 kB / 438.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.2743, allocations: 42.55 kB / 438.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.754e-06/0.2743, allocations: 0 / 438.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002023/0.2763, allocations: 1.04 MB / 439.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.2764, allocations: 144.4 kB / 439.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.2766, allocations: 210.7 kB / 439.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.2766, allocations: 29.7 kB / 439.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.2768, allocations: 156.7 kB / 439.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.95e-05/0.2769, allocations: 127 kB / 439.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.277, allocations: 62.14 kB / 440 MB, free: 13.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.2772, allocations: 342.8 kB / 440.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.2774, allocations: 80.83 kB / 440.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.2777, allocations: 198 kB / 440.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004735/0.2781, allocations: 301.5 kB / 440.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2781, allocations: 0 / 440.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006082/0.2787, allocations: 345.4 kB / 441.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.2788, allocations: 8 kB / 441.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2788, allocations: 4 kB / 441.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.2788, allocations: 4 kB / 441.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.2791, allocations: 99.83 kB / 441.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.2792, allocations: 7.984 kB / 441.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.2793, allocations: 15.94 kB / 441.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.2793, allocations: 19.94 kB / 441.4 MB, free: 12.06 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.0001541/0.2795, allocations: 149.8 kB / 441.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.996e-05/0.2796, allocations: 23.86 kB / 441.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.776e-05/0.2797, allocations: 37.39 kB / 441.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2797, allocations: 4 kB / 441.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2797, allocations: 0 / 441.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.2797, allocations: 7.922 kB / 441.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.2812, allocations: 0.939 MB / 442.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.2812, allocations: 4 kB / 442.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003605/0.2815, allocations: 79.89 kB / 442.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.2815, allocations: 4.25 kB / 442.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.2816, allocations: 16 kB / 442.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-06/0.2816, allocations: 8.188 kB / 442.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.2816, allocations: 4 kB / 442.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008311/0.2824, allocations: 0.6962 MB / 443.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.2824, allocations: 31.78 kB / 443.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.2825, allocations: 12 kB / 443.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.2827, allocations: 8 kB / 443.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.982e-05/0.2828, allocations: 35.83 kB / 443.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.2828, allocations: 12 kB / 443.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.283, allocations: 148.6 kB / 443.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.283, allocations: 0 / 443.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004746/0.2834, allocations: 68 kB / 443.7 MB, free: 9.652 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.001124/0.2846, allocations: 1.246 MB / 444.9 MB, free: 8.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004813/0.285, allocations: 227.6 kB / 445.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.285, allocations: 4 kB / 445.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.2853, allocations: 112.7 kB / 445.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007569/0.286, allocations: 88.81 kB / 445.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005071/0.2911, allocations: 3.491 MB / 448.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.2915, allocations: 0.7643 MB / 449.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001375/0.2917, allocations: 30.97 kB / 449.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.2918, allocations: 83.41 kB / 449.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of SimCode: time 1.173e-06/0.2918, allocations: 0 / 449.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03553/0.3273, allocations: 6.119 MB / 455.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.76, allocations: 10.08 kB / 455.8 MB, free: 13.34 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_CompareBrakingForce_fmu --startTime=0 --stopTime=5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_CompareBrakingForce.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_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: 15.441459191963077]