Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Brake.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.0008207/0.0008207, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001246/0.002067, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007325/0.0007325, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008904/0.001623, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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 0.9387/0.9387, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1708/1.109, allocations: 49.48 MB / 220.5 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] 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.Brake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|brake.mode|brake.startBackward|brake.startForward|brake1.mode|brake1.startBackward|brake1.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Brake") translateModel(Modelica.Mechanics.Translational.Examples.Brake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|brake.mode|brake.startBackward|brake.startForward|brake1.mode|brake1.startBackward|brake1.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Brake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 221.8 MB, free: 196 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.633e-05, allocations: 9.344 kB / 221.8 MB, free: 188 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Brake): time 0.002517/0.002534, allocations: 2.452 MB / 224.3 MB, free: 13.7 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006156/0.003149, allocations: 0.5152 MB / 224.8 MB, free: 13.18 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.556e-05/0.003225, allocations: 7.938 kB / 224.8 MB, free: 13.18 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.223e-05/0.003317, allocations: 47.52 kB / 224.8 MB, free: 13.13 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.703e-05/0.003414, allocations: 91.19 kB / 224.9 MB, free: 13.04 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.003659, allocations: 195.5 kB / 225.1 MB, free: 12.85 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.003984, allocations: 491 kB / 225.6 MB, free: 12.37 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005782/0.004562, allocations: 50.77 kB / 225.6 MB, free: 12.32 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002888/0.004851, allocations: 319.4 kB / 226 MB, free: 12.01 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.005062, allocations: 195.5 kB / 226.2 MB, free: 11.82 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.224e-05/0.005105, allocations: 36 kB / 226.2 MB, free: 11.78 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.005252, allocations: 103.9 kB / 226.3 MB, free: 11.68 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.205e-05/0.005324, allocations: 63.81 kB / 226.4 MB, free: 11.62 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.445e-05/0.005409, allocations: 95.81 kB / 226.4 MB, free: 11.52 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.005715, allocations: 318.9 kB / 226.8 MB, free: 11.21 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.365e-05/0.005728, allocations: 4 kB / 226.8 MB, free: 11.21 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005729, allocations: 0 / 226.8 MB, free: 11.21 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.005745, allocations: 0 / 226.8 MB, free: 11.21 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0007641/0.006509, allocations: 0.6205 MB / 227.4 MB, free: 10.56 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.006542, allocations: 8.031 kB / 227.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.345e-05/0.006615, allocations: 44.91 kB / 227.4 MB, free: 10.51 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.006826, allocations: 190.3 kB / 227.6 MB, free: 10.3 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.006852, allocations: 21.03 kB / 227.6 MB, free: 10.28 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.006894, allocations: 32.33 kB / 227.7 MB, free: 10.25 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.007227, allocations: 287.1 kB / 228 MB, free: 9.953 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.007241, allocations: 192 / 228 MB, free: 9.953 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.007266, allocations: 16.38 kB / 228 MB, free: 9.938 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.007275, allocations: 4.375 kB / 228 MB, free: 9.934 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.007504, allocations: 180.3 kB / 228.1 MB, free: 9.762 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.008582, allocations: 0.6989 MB / 228.8 MB, free: 9.023 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.008795, allocations: 168.1 kB / 229 MB, free: 8.852 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.008897, allocations: 93.75 kB / 229.1 MB, free: 8.758 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.008927, allocations: 8 kB / 229.1 MB, free: 8.75 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.008955, allocations: 42.44 kB / 229.2 MB, free: 8.699 MB / 234.7 MB Notification: Performance of pre-optimization done (n=39): time 1.202e-06/0.008956, allocations: 0 / 229.2 MB, free: 8.699 MB / 234.7 MB Notification: Performance of matching and sorting (n=45): time 0.001918/0.01087, allocations: 1.186 MB / 230.3 MB, free: 7.457 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.01091, allocations: 55.41 kB / 230.4 MB, free: 7.391 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.01104, allocations: 216.9 kB / 230.6 MB, free: 7.164 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.01107, allocations: 41.7 kB / 230.6 MB, free: 7.117 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/0.01113, allocations: 141 kB / 230.8 MB, free: 6.977 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.676e-05/0.01121, allocations: 162.7 kB / 230.9 MB, free: 6.816 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.01132, allocations: 94.08 kB / 231 MB, free: 6.719 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.01143, allocations: 342.8 kB / 231.4 MB, free: 6.375 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.01154, allocations: 88.97 kB / 231.5 MB, free: 6.289 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.01168, allocations: 168.3 kB / 231.6 MB, free: 6.098 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.01189, allocations: 246.5 kB / 231.9 MB, free: 5.836 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01189, allocations: 0 / 231.9 MB, free: 5.836 MB / 234.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004866/0.01237, allocations: 399.8 kB / 232.2 MB, free: 5.434 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.01239, allocations: 7.938 kB / 232.3 MB, free: 5.426 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.0124, allocations: 4 kB / 232.3 MB, free: 5.422 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004658/0.01286, allocations: 393.5 kB / 232.6 MB, free: 5.031 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004956/0.01336, allocations: 87.84 kB / 232.7 MB, free: 4.945 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005755/0.01393, allocations: 1.187 MB / 233.9 MB, free: 3.707 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.01407, allocations: 47.94 kB / 234 MB, free: 3.66 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.01409, allocations: 12 kB / 234 MB, free: 3.648 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 16 (brake1.mode,$PRE.brake1.mode,brake1.locked,brake1.startBackward,$PRE.brake1.startBackward,brake1.startForward,$PRE.brake1.startForward,brake1.free,brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,7), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.01421, allocations: 160.4 kB / 234.1 MB, free: 3.48 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.01426, allocations: 31.97 kB / 234.2 MB, free: 3.449 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.213e-05/0.01432, allocations: 43.31 kB / 234.2 MB, free: 3.406 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.01432, allocations: 4.062 kB / 234.2 MB, free: 3.402 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.01433, allocations: 7.938 kB / 234.2 MB, free: 3.395 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.01433, allocations: 3.984 kB / 234.2 MB, free: 3.391 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009423/0.01528, allocations: 0.798 MB / 235 MB, free: 2.547 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.01528, allocations: 0 / 235 MB, free: 2.547 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.01544, allocations: 71.91 kB / 235.1 MB, free: 2.477 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/0.01551, allocations: 47.78 kB / 235.1 MB, free: 2.43 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003546/0.01587, allocations: 385.4 kB / 235.5 MB, free: 2.047 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.01589, allocations: 7.984 kB / 235.5 MB, free: 2.039 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005315/0.01642, allocations: 1.179 MB / 236.7 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01642, allocations: 0 / 236.7 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/0.01702, allocations: 0.5782 MB / 237.3 MB, free: 196 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.01707, allocations: 12 kB / 237.3 MB, free: 184 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.01718, allocations: 31.97 kB / 237.3 MB, free: 152 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.01731, allocations: 95.75 kB / 237.4 MB, free: 56 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.01732, allocations: 11.98 kB / 237.4 MB, free: 44 kB / 234.7 MB Notification: Performance of sorting global known variables: time 6.416e-05/0.01739, allocations: 70.78 kB / 237.5 MB, free: 15.97 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01739, allocations: 0 / 237.5 MB, free: 15.97 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002413/0.01763, allocations: 103.9 kB / 237.6 MB, free: 15.87 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (mass1.s,mass1.v,mass2.s,mass2.v) * Number of discrete variables: 10 (brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,brake1.free,brake1.startForward,brake1.startBackward,brake1.locked,brake1.mode) * Number of discrete states: 6 (brake1.mode,brake1.startForward,brake1.startBackward,brake.mode,brake.startForward,brake.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001879/0.01782, allocations: 128.2 kB / 237.7 MB, free: 15.74 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003775/0.0182, allocations: 306.6 kB / 238 MB, free: 15.44 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/0.0182, allocations: 4 kB / 238 MB, free: 15.43 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.0184, allocations: 190 kB / 238.2 MB, free: 15.25 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.01866, allocations: 101.5 kB / 238.3 MB, free: 15.15 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.02015, allocations: 0.7555 MB / 239.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.685e-05/0.0202, allocations: 97.28 kB / 239.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.453e-05/0.02029, allocations: 35.09 kB / 239.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.02041, allocations: 107.3 kB / 239.3 MB, free: 14.09 MB / 250.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02041, allocations: 0 / 239.3 MB, free: 14.09 MB / 250.7 MB Notification: Performance of Templates: time 0.01026/0.03067, allocations: 8.213 MB / 247.5 MB, free: 5.895 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Brake.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Brake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Brake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Brake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Brake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Brake -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Brake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Brake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Brake/Brake.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.82612791005522]