Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001887/0.001887, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002292/0.002292, allocations: 208.7 kB / 24.49 MB, free: 3.965 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.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.805 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: 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_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.Brake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002422/0.002422, allocations: 51.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3044, allocations: 53.36 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Brake): time 0.004143/0.3085, allocations: 2.426 MB / 434.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3096, allocations: 0.5733 MB / 435.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.3097, allocations: 7.938 kB / 435.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.31, allocations: 67.42 kB / 435.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003395/0.3103, allocations: 143 kB / 435.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.3107, allocations: 167.7 kB / 435.7 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005462/0.3112, allocations: 0.507 MB / 436.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.3113, allocations: 52.56 kB / 436.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/0.3116, allocations: 243.3 kB / 436.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003447/0.312, allocations: 259.1 kB / 436.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.819e-05/0.312, allocations: 40 kB / 436.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.3122, allocations: 91.98 kB / 436.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.3124, allocations: 107.7 kB / 437 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.3126, allocations: 171.3 kB / 437.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005929/0.3131, allocations: 0.5088 MB / 437.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3132, allocations: 0 / 437.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3132, allocations: 0 / 437.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.3132, allocations: 0 / 437.7 MB, free: 1.371 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0014/0.3146, allocations: 0.6414 MB / 438.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.3146, allocations: 8.031 kB / 438.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.3147, allocations: 40.7 kB / 438.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.3151, allocations: 237.9 kB / 438.6 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.3152, allocations: 29.03 kB / 438.6 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.71e-05/0.3152, allocations: 28.38 kB / 438.6 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007949/0.316, allocations: 374.5 kB / 439 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.3161, allocations: 8.141 kB / 439 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.864e-05/0.3161, allocations: 15.94 kB / 439 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.3161, allocations: 8 kB / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008579/0.317, allocations: 378.4 kB / 439.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/0.3191, allocations: 0.9672 MB / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006538/0.3197, allocations: 323 kB / 440.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003928/0.3201, allocations: 176.8 kB / 440.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.713e-05/0.3201, allocations: 12 kB / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.3202, allocations: 30.56 kB / 440.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.753e-06/0.3202, allocations: 0 / 440.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.004884/0.3251, allocations: 1.708 MB / 442.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.3251, allocations: 55.84 kB / 442.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.3254, allocations: 248.9 kB / 442.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.581e-05/0.3255, allocations: 41.7 kB / 442.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.3256, allocations: 160.9 kB / 443.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.3258, allocations: 174.6 kB / 443.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002923/0.3261, allocations: 98.28 kB / 443.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3262, allocations: 342.8 kB / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004234/0.3266, allocations: 193.2 kB / 443.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005847/0.3272, allocations: 273.8 kB / 444.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006944/0.3279, allocations: 357.6 kB / 444.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3279, allocations: 4 kB / 444.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001287/0.3292, allocations: 0.6067 MB / 445.1 MB, free: 9.598 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3292, allocations: 4 kB / 445.1 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.3292, allocations: 4 kB / 445.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007869/0.33, allocations: 341.7 kB / 445.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/0.3303, allocations: 71.89 kB / 445.5 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/0.3318, allocations: 1.362 MB / 446.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004399/0.3322, allocations: 71.86 kB / 447 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/0.3323, allocations: 16 kB / 447 MB, free: 7.68 MB / 350.1 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 (47): * Single equations (assignments): 45 * 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,9), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000204/0.3325, allocations: 165.3 kB / 447.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.3326, allocations: 35.8 kB / 447.2 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.3327, allocations: 55.56 kB / 447.2 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3327, allocations: 3.984 kB / 447.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3327, allocations: 0 / 447.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.3329, allocations: 71.73 kB / 447.3 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.619e-05/0.333, allocations: 20 kB / 447.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004392/0.3334, allocations: 63.91 kB / 447.4 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/0.3336, allocations: 88.27 kB / 447.5 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001897/0.3355, allocations: 0.6613 MB / 448.1 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00147/0.337, allocations: 0.8109 MB / 448.9 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004158/0.3374, allocations: 191.4 kB / 449.1 MB, free: 5.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001875/0.3376, allocations: 172.5 kB / 449.3 MB, free: 5.316 MB / 350.1 MB Notification: Performance of Backend: time 2.6e-07/0.3376, allocations: 3.938 kB / 449.3 MB, free: 5.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003093/0.3407, allocations: 0.8252 MB / 450.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of SimCode: time 0.001661/0.3424, allocations: 1.338 MB / 451.5 MB, free: 3.336 MB / 350.1 MB Notification: Performance of Templates: time 0.01464/0.357, allocations: 8.521 MB / 460 MB, free: 10.87 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Brake/Brake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Brake.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: 4.5953561310016084]