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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Brake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 107.1 kB / 18.4 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 188.5 kB / 19.34 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.248/1.248, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 47.94 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07218/0.07333, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Brake): time 0.003174/0.07653, allocations: 2.419 MB / 378.2 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000871/0.07741, allocations: 0.5039 MB / 378.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.779e-05/0.07752, allocations: 0 / 378.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.07772, allocations: 47.52 kB / 378.8 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.07788, allocations: 91.27 kB / 378.9 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.07831, allocations: 191.7 kB / 379.1 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004191/0.07874, allocations: 491.1 kB / 379.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.0789, allocations: 76.66 kB / 379.6 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.07912, allocations: 215.4 kB / 379.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.07941, allocations: 231.2 kB / 380.1 MB, free: 324 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.511e-05/0.0795, allocations: 40 kB / 380.1 MB, free: 284 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.07966, allocations: 95.88 kB / 380.2 MB, free: 188 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.07978, allocations: 91.72 kB / 380.3 MB, free: 96 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1472/0.227, allocations: 180 kB / 380.4 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005803/0.2276, allocations: 462.8 kB / 380.9 MB, free: 10.26 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2276, allocations: 0 / 380.9 MB, free: 10.26 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2276, allocations: 0.8438 kB / 380.9 MB, free: 10.26 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.2276, allocations: 1.781 kB / 380.9 MB, free: 10.26 MB / 318.1 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.001165/0.2288, allocations: 0.6645 MB / 381.6 MB, free: 9.801 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.2288, allocations: 13.91 kB / 381.6 MB, free: 9.801 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.784e-05/0.2289, allocations: 34.44 kB / 381.6 MB, free: 9.785 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.2293, allocations: 285.4 kB / 381.9 MB, free: 9.562 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.2293, allocations: 24.16 kB / 381.9 MB, free: 9.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-05/0.2294, allocations: 24.78 kB / 381.9 MB, free: 9.562 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006985/0.2301, allocations: 379.9 kB / 382.3 MB, free: 9.527 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.2301, allocations: 2.219 kB / 382.3 MB, free: 9.527 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.2302, allocations: 18.34 kB / 382.3 MB, free: 9.523 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.2302, allocations: 6.875 kB / 382.3 MB, free: 9.523 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007829/0.231, allocations: 404.3 kB / 382.7 MB, free: 9.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.2329, allocations: 1.102 MB / 383.8 MB, free: 9.074 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005029/0.2334, allocations: 297.6 kB / 384.1 MB, free: 9.047 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000347/0.2338, allocations: 197.4 kB / 384.3 MB, free: 9.039 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/0.2338, allocations: 8.109 kB / 384.3 MB, free: 9.039 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/0.2338, allocations: 33.61 kB / 384.4 MB, free: 9 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 2.555e-06/0.2338, allocations: 2.484 kB / 384.4 MB, free: 9 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.004438/0.2383, allocations: 2.038 MB / 386.4 MB, free: 8.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.777e-05/0.2383, allocations: 59.41 kB / 386.5 MB, free: 8.027 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.2385, allocations: 241.1 kB / 386.7 MB, free: 7.879 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.874e-05/0.2386, allocations: 40.83 kB / 386.7 MB, free: 7.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.2387, allocations: 147.9 kB / 386.9 MB, free: 7.707 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.694e-05/0.2388, allocations: 152.8 kB / 387 MB, free: 7.594 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.2389, allocations: 101 kB / 387.1 MB, free: 7.539 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.097e-05/0.239, allocations: 343.9 kB / 387.5 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003779/0.2394, allocations: 211.3 kB / 387.7 MB, free: 7.137 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004061/0.2398, allocations: 285.7 kB / 387.9 MB, free: 6.984 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005867/0.2404, allocations: 378.4 kB / 388.3 MB, free: 6.801 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2404, allocations: 2.156 kB / 388.3 MB, free: 6.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001402/0.2418, allocations: 0.691 MB / 389 MB, free: 6.535 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2418, allocations: 5.625 kB / 389 MB, free: 6.535 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2418, allocations: 2.219 kB / 389 MB, free: 6.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007921/0.2426, allocations: 498.3 kB / 389.5 MB, free: 6.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/0.2429, allocations: 74.55 kB / 389.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009752/0.2439, allocations: 1.393 MB / 391 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004426/0.2444, allocations: 65.19 kB / 391 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.2444, allocations: 24.61 kB / 391.1 MB, free: 5.211 MB / 318.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 (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.0001558/0.2446, allocations: 160.5 kB / 391.2 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.766e-05/0.2447, allocations: 34 kB / 391.2 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.2448, allocations: 48.62 kB / 391.3 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.2448, allocations: 2.531 kB / 391.3 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2448, allocations: 1.094 kB / 391.3 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.245, allocations: 153.1 kB / 391.4 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.944e-05/0.2451, allocations: 18.06 kB / 391.5 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004476/0.2455, allocations: 62.98 kB / 391.5 MB, free: 4.863 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/0.2457, allocations: 79.31 kB / 391.6 MB, free: 4.852 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001548/0.2473, allocations: 0.6677 MB / 392.3 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001206/0.2485, allocations: 0.8372 MB / 393.1 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003677/0.2489, allocations: 220.6 kB / 393.3 MB, free: 4.039 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.249, allocations: 167.4 kB / 393.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of Backend: time 4.71e-07/0.249, allocations: 0 / 393.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.2501, allocations: 443.2 kB / 393.9 MB, free: 3.754 MB / 318.1 MB Notification: Performance of SimCode: time 0.001136/0.2512, allocations: 1.248 MB / 395.2 MB, free: 2.781 MB / 318.1 MB Notification: Performance of Templates: time 0.01212/0.2633, allocations: 8.16 MB / 403.3 MB, free: 180 kB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Brake.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Brake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Brake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Brake/Brake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Brake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches