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.00105/0.00105, allocations: 77.88 kB / 21.42 MB, free: 3.07 MB / 18.57 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.00103/0.00103, allocations: 168.3 kB / 24.81 MB, free: 9.27 MB / 18.57 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 0.9831/0.9831, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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: 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_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_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.234e-05, allocations: 4.703 kB / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.002501/0.002523, allocations: 2.331 MB / 275.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.003643, allocations: 0.736 MB / 276.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.003782, allocations: 11.94 kB / 276.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.003907, allocations: 43.58 kB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.00414, allocations: 91.2 kB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.004387, allocations: 111.7 kB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000246/0.004633, allocations: 318.4 kB / 277 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.004818, allocations: 44.91 kB / 277.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.004969, allocations: 171.6 kB / 277.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.005084, allocations: 95.69 kB / 277.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.005111, allocations: 20 kB / 277.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.614e-05/0.005137, allocations: 20 kB / 277.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.632e-05/0.005174, allocations: 59.75 kB / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.943e-05/0.005233, allocations: 91.75 kB / 277.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.005411, allocations: 191.2 kB / 277.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005413, allocations: 0 / 277.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005414, allocations: 0 / 277.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.005418, allocations: 0 / 277.7 MB, free: 12.97 MB / 266.7 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.0007426/0.006161, allocations: 0.5856 MB / 278.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.006203, allocations: 12.03 kB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.726e-05/0.00629, allocations: 48.75 kB / 278.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.006552, allocations: 204.9 kB / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.006582, allocations: 20.88 kB / 278.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.006626, allocations: 24.36 kB / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.006962, allocations: 216 kB / 278.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.006982, allocations: 8.141 kB / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.007001, allocations: 8.375 kB / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.007013, allocations: 11.94 kB / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.00717, allocations: 75.84 kB / 278.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008268/0.007997, allocations: 1.033 MB / 279.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.008193, allocations: 232.5 kB / 280.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.689e-05/0.00825, allocations: 66.72 kB / 280.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.008268, allocations: 4 kB / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.00829, allocations: 49.42 kB / 280.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 2.224e-06/0.008293, allocations: 0 / 280.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009522/0.009245, allocations: 0.8192 MB / 281.1 MB, free: 9.207 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.0093, allocations: 140.5 kB / 281.2 MB, free: 9.039 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.009438, allocations: 249.5 kB / 281.5 MB, free: 8.777 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.009454, allocations: 29.7 kB / 281.5 MB, free: 8.742 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.109e-05/0.009535, allocations: 203.4 kB / 281.7 MB, free: 8.539 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.629e-05/0.009601, allocations: 126.9 kB / 281.8 MB, free: 8.414 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.465e-05/0.009666, allocations: 75.83 kB / 281.9 MB, free: 8.332 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.009799, allocations: 0.5078 MB / 282.4 MB, free: 7.812 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.822e-05/0.009847, allocations: 32.97 kB / 282.4 MB, free: 7.781 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.009961, allocations: 203.8 kB / 282.6 MB, free: 7.516 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.01015, allocations: 271.7 kB / 282.9 MB, free: 7.184 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01015, allocations: 0 / 282.9 MB, free: 7.184 MB / 266.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002442/0.01039, allocations: 269.2 kB / 283.2 MB, free: 6.914 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.01041, allocations: 7.938 kB / 283.2 MB, free: 6.906 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.01041, allocations: 4 kB / 283.2 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.01042, allocations: 8 kB / 283.2 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.01063, allocations: 91.89 kB / 283.3 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.01064, allocations: 11.92 kB / 283.3 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.01071, allocations: 12 kB / 283.3 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.01072, allocations: 12 kB / 283.3 MB, free: 6.77 MB / 266.7 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 8.485e-05/0.01081, allocations: 180.5 kB / 283.5 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.01087, allocations: 43.89 kB / 283.5 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.818e-05/0.0109, allocations: 33.45 kB / 283.6 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01091, allocations: 4 kB / 283.6 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.01091, allocations: 4 kB / 283.6 MB, free: 6.496 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01092, allocations: 0 / 283.6 MB, free: 6.496 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007283/0.01164, allocations: 0.9734 MB / 284.5 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.01165, allocations: 11.97 kB / 284.6 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.01182, allocations: 79.89 kB / 284.6 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.01183, allocations: 4 kB / 284.6 MB, free: 5.359 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.01184, allocations: 12 kB / 284.6 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.01184, allocations: 4 kB / 284.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.01184, allocations: 4 kB / 284.7 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.01223, allocations: 0.8122 MB / 285.5 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.01225, allocations: 27.81 kB / 285.5 MB, free: 4.438 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.01227, allocations: 12 kB / 285.5 MB, free: 4.426 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.0124, allocations: 11.98 kB / 285.5 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.01244, allocations: 31.84 kB / 285.6 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.01245, allocations: 15.98 kB / 285.6 MB, free: 4.367 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.504e-05/0.01252, allocations: 168.5 kB / 285.7 MB, free: 4.203 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01252, allocations: 0 / 285.7 MB, free: 4.203 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002878/0.01281, allocations: 68 kB / 285.8 MB, free: 4.137 MB / 266.7 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 8.741e-05/0.01289, allocations: 111.1 kB / 285.9 MB, free: 4.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.01306, allocations: 173.7 kB / 286.1 MB, free: 3.848 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01307, allocations: 0 / 286.1 MB, free: 3.848 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.432e-05/0.01314, allocations: 91.44 kB / 286.2 MB, free: 3.754 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.01358, allocations: 80.5 kB / 286.2 MB, free: 3.684 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008083/0.01439, allocations: 0.8026 MB / 287 MB, free: 2.809 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.07e-05/0.01448, allocations: 93.23 kB / 287.1 MB, free: 2.691 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.01459, allocations: 34.95 kB / 287.2 MB, free: 2.656 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.01477, allocations: 134.2 kB / 287.3 MB, free: 2.523 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01477, allocations: 0 / 287.3 MB, free: 2.523 MB / 266.7 MB Notification: Performance of Templates: time 0.005179/0.01995, allocations: 3.339 MB / 290.6 MB, free: 15.25 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/CompareBrakingForce/CompareBrakingForce.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8547034971415997]