Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Brake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Brake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|brake.mode|brake.startBackward|brake.startForward|brake1.mode|brake1.startBackward|brake1.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Brake") translateModel(Modelica.Mechanics.Translational.Examples.Brake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|brake.mode|brake.startBackward|brake.startForward|brake1.mode|brake1.startBackward|brake1.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Brake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001432/0.001433, allocations: 112.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001756/0.001756, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 63.89 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2137, allocations: 50.55 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Brake): time 0.00346/0.2172, allocations: 2.566 MB / 412.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009456/0.2182, allocations: 0.5772 MB / 413.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.2183, allocations: 7.938 kB / 413.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.2186, allocations: 67.44 kB / 413.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002756/0.2189, allocations: 135 kB / 413.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.2191, allocations: 163.7 kB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004793/0.2196, allocations: 0.5147 MB / 414 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.2198, allocations: 72.7 kB / 414 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.22, allocations: 227.3 kB / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003146/0.2203, allocations: 259 kB / 414.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.563e-05/0.2204, allocations: 40 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.2206, allocations: 91.97 kB / 414.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.2207, allocations: 111.7 kB / 414.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.2209, allocations: 199 kB / 414.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004872/0.2214, allocations: 0.4995 MB / 415.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2214, allocations: 0 / 415.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2214, allocations: 0 / 415.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.2214, allocations: 0 / 415.4 MB, free: 12.11 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.001268/0.2227, allocations: 0.7133 MB / 416.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.2228, allocations: 8.031 kB / 416.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.861e-05/0.2229, allocations: 40.47 kB / 416.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.2232, allocations: 303.5 kB / 416.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.2233, allocations: 21.03 kB / 416.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.128e-05/0.2233, allocations: 36.38 kB / 416.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007226/0.2241, allocations: 374.5 kB / 416.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.2241, allocations: 8.078 kB / 416.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.204e-05/0.2242, allocations: 15.94 kB / 416.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.2242, allocations: 4 kB / 416.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008068/0.225, allocations: 390.4 kB / 417.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.2269, allocations: 1.12 MB / 418.4 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000605/0.2275, allocations: 330.6 kB / 418.8 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003731/0.2279, allocations: 196.8 kB / 419 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.902e-05/0.228, allocations: 7.984 kB / 419 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.228, allocations: 34.56 kB / 419 MB, free: 8.344 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.723e-06/0.228, allocations: 0 / 419 MB, free: 8.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.004621/0.2326, allocations: 1.999 MB / 421 MB, free: 6.207 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.2327, allocations: 63.83 kB / 421.1 MB, free: 6.133 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.233, allocations: 249 kB / 421.3 MB, free: 5.887 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.224e-05/0.233, allocations: 45.69 kB / 421.3 MB, free: 5.836 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.76e-05/0.2331, allocations: 152.8 kB / 421.5 MB, free: 5.684 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.2332, allocations: 161.8 kB / 421.6 MB, free: 5.523 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.2334, allocations: 98.14 kB / 421.7 MB, free: 5.422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.2335, allocations: 338.8 kB / 422.1 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/0.2339, allocations: 193 kB / 422.3 MB, free: 4.895 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/0.2344, allocations: 264.8 kB / 422.5 MB, free: 4.609 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006293/0.235, allocations: 353.6 kB / 422.9 MB, free: 4.238 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.235, allocations: 3.938 kB / 422.9 MB, free: 4.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001195/0.2362, allocations: 0.6144 MB / 423.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.2363, allocations: 8 kB / 423.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.2363, allocations: 3.938 kB / 423.5 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006973/0.237, allocations: 345.6 kB / 423.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.2373, allocations: 71.84 kB / 423.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.2385, allocations: 1.366 MB / 425.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004292/0.239, allocations: 71.88 kB / 425.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.239, allocations: 20.12 kB / 425.4 MB, free: 1.672 MB / 334.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.0001827/0.2392, allocations: 169.7 kB / 425.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-05/0.2393, allocations: 35.56 kB / 425.6 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.2394, allocations: 47.61 kB / 425.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2394, allocations: 0 / 425.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2394, allocations: 3.938 kB / 425.6 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.2396, allocations: 160.7 kB / 425.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.786e-05/0.2397, allocations: 16 kB / 425.8 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004374/0.2401, allocations: 71.91 kB / 425.9 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.2403, allocations: 80.3 kB / 425.9 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001758/0.2421, allocations: 0.6574 MB / 426.6 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001321/0.2434, allocations: 0.8221 MB / 427.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004029/0.2439, allocations: 211.4 kB / 427.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001671/0.244, allocations: 180.5 kB / 427.8 MB, free: 15.17 MB / 350.1 MB Notification: Performance of Backend: time 4.81e-07/0.244, allocations: 0 / 427.8 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0021/0.2462, allocations: 0.8109 MB / 428.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of SimCode: time 0.001451/0.2476, allocations: 1.327 MB / 429.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of Templates: time 0.0124/0.26, allocations: 8.378 MB / 438.3 MB, free: 4.824 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Brake.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Brake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Brake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Brake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Brake.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Brake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Brake.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Brake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Brake/Brake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Brake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches