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.001078/0.001078, allocations: 107.1 kB / 18.4 MB, free: 4.523 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.001013/0.001013, allocations: 188.5 kB / 19.34 MB, free: 3.602 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.287/1.287, allocations: 205.1 MB / 225.2 MB, free: 12.2 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.001112/0.001112, allocations: 47.94 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07439/0.07551, allocations: 46.62 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Brake): time 0.003467/0.07901, allocations: 2.426 MB / 378.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.08009, allocations: 0.5 MB / 378.7 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.08028, allocations: 4 kB / 378.7 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.0805, allocations: 51.5 kB / 378.8 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.08072, allocations: 79.33 kB / 378.9 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005024/0.08123, allocations: 199.6 kB / 379.1 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004977/0.08174, allocations: 491.1 kB / 379.5 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.08191, allocations: 76.64 kB / 379.6 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002744/0.08219, allocations: 211.4 kB / 379.8 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.0825, allocations: 235.2 kB / 380.1 MB, free: 328 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.527e-05/0.08258, allocations: 40 kB / 380.1 MB, free: 288 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.08275, allocations: 95.92 kB / 380.2 MB, free: 192 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.08287, allocations: 95.72 kB / 380.3 MB, free: 96 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1473/0.2301, allocations: 175.3 kB / 380.4 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007376/0.2309, allocations: 463.3 kB / 380.9 MB, free: 10.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.2309, allocations: 0 / 380.9 MB, free: 10.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2309, allocations: 1.531 kB / 380.9 MB, free: 10.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.231, allocations: 3 kB / 380.9 MB, free: 10.25 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.001405/0.2324, allocations: 0.6649 MB / 381.6 MB, free: 9.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2324, allocations: 10.88 kB / 381.6 MB, free: 9.797 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.2326, allocations: 33.88 kB / 381.6 MB, free: 9.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.233, allocations: 281.3 kB / 381.9 MB, free: 9.559 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.233, allocations: 23.19 kB / 381.9 MB, free: 9.559 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.95e-05/0.2331, allocations: 28.7 kB / 381.9 MB, free: 9.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000759/0.2338, allocations: 380.7 kB / 382.3 MB, free: 9.523 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.2339, allocations: 2.172 kB / 382.3 MB, free: 9.523 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-05/0.2339, allocations: 17.06 kB / 382.3 MB, free: 9.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.234, allocations: 8.75 kB / 382.3 MB, free: 9.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008057/0.2348, allocations: 402.7 kB / 382.7 MB, free: 9.516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.2368, allocations: 1.104 MB / 383.8 MB, free: 9.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005049/0.2373, allocations: 297.2 kB / 384.1 MB, free: 9.043 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003416/0.2376, allocations: 200.5 kB / 384.3 MB, free: 9.035 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.2377, allocations: 5.594 kB / 384.3 MB, free: 9.035 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.2377, allocations: 39.69 kB / 384.4 MB, free: 8.996 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 2.014e-06/0.2377, allocations: 0 / 384.4 MB, free: 8.996 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.004374/0.2421, allocations: 2.034 MB / 386.4 MB, free: 8.098 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.737e-05/0.2421, allocations: 56.27 kB / 386.5 MB, free: 8.035 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.2424, allocations: 240.5 kB / 386.7 MB, free: 7.887 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/0.2424, allocations: 40.84 kB / 386.7 MB, free: 7.848 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.2425, allocations: 147.9 kB / 386.9 MB, free: 7.715 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.2426, allocations: 155.5 kB / 387 MB, free: 7.602 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.2428, allocations: 99.53 kB / 387.1 MB, free: 7.547 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.229e-05/0.2428, allocations: 349 kB / 387.5 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.2432, allocations: 206.8 kB / 387.7 MB, free: 7.145 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000422/0.2436, allocations: 286.6 kB / 387.9 MB, free: 6.992 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005894/0.2442, allocations: 377.7 kB / 388.3 MB, free: 6.809 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2443, allocations: 2.531 kB / 388.3 MB, free: 6.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001407/0.2457, allocations: 0.696 MB / 389 MB, free: 6.543 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2457, allocations: 5.969 kB / 389 MB, free: 6.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2457, allocations: 2.406 kB / 389 MB, free: 6.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007835/0.2465, allocations: 493.9 kB / 389.5 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.2468, allocations: 78.89 kB / 389.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009869/0.2478, allocations: 1.383 MB / 391 MB, free: 5.234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/0.2483, allocations: 69.88 kB / 391 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/0.2483, allocations: 20.83 kB / 391.1 MB, free: 5.219 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.00016/0.2485, allocations: 159.8 kB / 391.2 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.621e-05/0.2486, allocations: 34.19 kB / 391.2 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.2487, allocations: 49.06 kB / 391.3 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.2487, allocations: 2.938 kB / 391.3 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2487, allocations: 4.516 kB / 391.3 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.2488, allocations: 153.7 kB / 391.4 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.962e-05/0.2489, allocations: 17.5 kB / 391.5 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004353/0.2494, allocations: 59.34 kB / 391.5 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.2496, allocations: 79.16 kB / 391.6 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001581/0.2511, allocations: 0.6675 MB / 392.3 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001223/0.2524, allocations: 0.8431 MB / 393.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003688/0.2528, allocations: 219.8 kB / 393.3 MB, free: 4.047 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001306/0.2529, allocations: 166.6 kB / 393.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of Backend: time 3.8e-07/0.2529, allocations: 0 / 393.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.254, allocations: 451.8 kB / 393.9 MB, free: 3.762 MB / 318.1 MB Notification: Performance of SimCode: time 0.001201/0.2552, allocations: 1.253 MB / 395.2 MB, free: 2.773 MB / 318.1 MB Notification: Performance of Templates: time 0.0129/0.2681, allocations: 8.149 MB / 403.3 MB, free: 188 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