Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 113.2 kB / 17.74 MB, free: 5.336 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.001864/0.001864, allocations: 188.2 kB / 18.67 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001183, allocations: 47.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.29, allocations: 49.42 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.004091/0.2942, allocations: 1.794 MB / 403.2 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.2957, allocations: 0.631 MB / 403.8 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.2959, allocations: 7.938 kB / 403.8 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.2961, allocations: 11.86 kB / 403.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.2963, allocations: 39.62 kB / 403.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.2967, allocations: 55.86 kB / 403.9 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.297, allocations: 119.4 kB / 404 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.2972, allocations: 33.36 kB / 404.1 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.2973, allocations: 47.8 kB / 404.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.2975, allocations: 43.83 kB / 404.2 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.2975, allocations: 8 kB / 404.2 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.2976, allocations: 27.98 kB / 404.2 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.514e-05/0.2977, allocations: 31.86 kB / 404.2 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.341e-05/0.2978, allocations: 47.73 kB / 404.3 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.2981, allocations: 128.7 kB / 404.4 MB, free: 5.844 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2981, allocations: 0 / 404.4 MB, free: 5.844 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2981, allocations: 0 / 404.4 MB, free: 5.844 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.2982, allocations: 4 kB / 404.4 MB, free: 5.84 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007494/0.2989, allocations: 411.2 kB / 404.8 MB, free: 5.391 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/0.299, allocations: 15.89 kB / 404.8 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002201/0.2992, allocations: 24.83 kB / 404.8 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.2995, allocations: 196.2 kB / 405 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.2996, allocations: 12.56 kB / 405 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.2996, allocations: 4.375 kB / 405 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.2999, allocations: 107 kB / 405.2 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.2999, allocations: 0 / 405.2 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.3, allocations: 4 kB / 405.2 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.3, allocations: 4 kB / 405.2 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.3002, allocations: 59.97 kB / 405.2 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000965/0.3012, allocations: 447.5 kB / 405.7 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/0.3016, allocations: 106.6 kB / 405.8 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.911e-05/0.3017, allocations: 24.86 kB / 405.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.3017, allocations: 8 kB / 405.8 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.3017, allocations: 34.5 kB / 405.8 MB, free: 4.246 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 2.023e-06/0.3018, allocations: 0 / 405.8 MB, free: 4.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001855/0.3036, allocations: 0.5388 MB / 406.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.3037, allocations: 51.41 kB / 406.4 MB, free: 3.574 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.3038, allocations: 128.8 kB / 406.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.3039, allocations: 29.7 kB / 406.6 MB, free: 3.402 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/0.304, allocations: 103.9 kB / 406.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/0.304, allocations: 47.34 kB / 406.7 MB, free: 3.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.55e-05/0.3041, allocations: 29.72 kB / 406.7 MB, free: 3.215 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3043, allocations: 322.8 kB / 407.1 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.118e-05/0.3044, allocations: 27.98 kB / 407.1 MB, free: 2.863 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.3045, allocations: 55.42 kB / 407.1 MB, free: 2.797 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.3048, allocations: 95.38 kB / 407.2 MB, free: 2.691 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3048, allocations: 0 / 407.2 MB, free: 2.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003064/0.3051, allocations: 137.4 kB / 407.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3051, allocations: 4 kB / 407.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3052, allocations: 0 / 407.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.3052, allocations: 7.984 kB / 407.4 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.3054, allocations: 27.94 kB / 407.4 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.3054, allocations: 7.984 kB / 407.4 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.615e-05/0.3055, allocations: 3.938 kB / 407.4 MB, free: 2.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.3056, allocations: 12.06 kB / 407.4 MB, free: 2.488 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001413/0.3057, allocations: 121.8 kB / 407.6 MB, free: 2.359 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.3058, allocations: 7.906 kB / 407.6 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.224e-05/0.3058, allocations: 16.38 kB / 407.6 MB, free: 2.336 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3059, allocations: 0 / 407.6 MB, free: 2.336 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3059, allocations: 0 / 407.6 MB, free: 2.336 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.3059, allocations: 3.938 kB / 407.6 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008088/0.3067, allocations: 432 kB / 408 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3067, allocations: 0 / 408 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.307, allocations: 27.98 kB / 408 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.307, allocations: 7.938 kB / 408 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.307, allocations: 0 / 408 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.307, allocations: 3.938 kB / 408 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/0.307, allocations: 8 kB / 408 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/0.3075, allocations: 245.2 kB / 408.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.3076, allocations: 89.05 kB / 408.4 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.3076, allocations: 7.938 kB / 408.4 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.3078, allocations: 4 kB / 408.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.3078, allocations: 7.984 kB / 408.4 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.3078, allocations: 4 kB / 408.4 MB, free: 1.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.067e-05/0.3079, allocations: 95.27 kB / 408.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3079, allocations: 0 / 408.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004642/0.3084, allocations: 28 kB / 408.5 MB, free: 1.289 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001548/0.3086, allocations: 111.1 kB / 408.6 MB, free: 1.172 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000311/0.3089, allocations: 87.84 kB / 408.7 MB, free: 1.086 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3089, allocations: 0 / 408.7 MB, free: 1.086 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.215e-05/0.309, allocations: 35.94 kB / 408.7 MB, free: 1.051 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.3095, allocations: 25.11 kB / 408.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.3107, allocations: 497.9 kB / 409.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.3112, allocations: 0.7041 MB / 410 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.177e-05/0.3113, allocations: 15.44 kB / 410 MB, free: 15.76 MB / 334.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3113, allocations: 0 / 410 MB, free: 15.76 MB / 334.1 MB Notification: Performance of Templates: time 0.004169/0.3155, allocations: 1.429 MB / 411.4 MB, free: 14.33 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches