Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 176.5 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.3 MB / 241.4 MB, free: 11.61 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007859/0.0007859, allocations: 98.69 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002888/0.0002888, allocations: 11.94 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.204, allocations: 50.4 MB / 402.7 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09633/0.3004, allocations: 77.9 MB / 480.6 MB, free: 2.465 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.3006, allocations: 71.97 kB / 480.7 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006649/0.3073, allocations: 2.536 MB / 483.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3073, allocations: 0 / 483.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.3074, allocations: 4 kB / 483.2 MB, free: 15.85 MB / 362.7 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.0004386/0.3078, allocations: 391.7 kB / 483.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3078, allocations: 12.03 kB / 483.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.308, allocations: 24.81 kB / 483.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.3082, allocations: 188.2 kB / 483.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.3083, allocations: 8.562 kB / 483.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.3083, allocations: 12.31 kB / 483.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.3085, allocations: 97.34 kB / 484 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.3085, allocations: 4 kB / 484 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.3085, allocations: 8 kB / 484 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3085, allocations: 0 / 484 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.3087, allocations: 55.97 kB / 484 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007486/0.3094, allocations: 497.1 kB / 484.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.3097, allocations: 86.5 kB / 484.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.3097, allocations: 24.86 kB / 484.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.3098, allocations: 0 / 484.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.3098, allocations: 30.56 kB / 484.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.3098, allocations: 4 kB / 484.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002236/0.31, allocations: 105.7 kB / 484.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.3101, allocations: 51.41 kB / 484.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.11e-05/0.3102, allocations: 125.7 kB / 484.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.3102, allocations: 25.7 kB / 485 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.3102, allocations: 107.9 kB / 485.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.3103, allocations: 31.55 kB / 485.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.3103, allocations: 4 kB / 485.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.645e-05/0.3104, allocations: 318.8 kB / 485.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.078e-05/0.3104, allocations: 24 kB / 485.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.16e-05/0.3105, allocations: 52.17 kB / 485.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.3106, allocations: 75.36 kB / 485.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3106, allocations: 0 / 485.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001605/0.3108, allocations: 113.5 kB / 485.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3108, allocations: 4.625 kB / 485.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3108, allocations: 4 kB / 485.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3108, allocations: 3.984 kB / 485.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.311, allocations: 31.92 kB / 485.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.311, allocations: 0 / 485.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.719e-05/0.311, allocations: 19.78 kB / 485.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.3111, allocations: 4 kB / 485.7 MB, free: 13.1 MB / 362.7 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.241e-05/0.3111, allocations: 125.9 kB / 485.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.3112, allocations: 8 kB / 485.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.724e-05/0.3112, allocations: 20.31 kB / 485.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3112, allocations: 0 / 485.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3112, allocations: 0 / 485.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3112, allocations: 3.938 kB / 485.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.3115, allocations: 197.6 kB / 486.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3115, allocations: 4 kB / 486.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.3116, allocations: 23.92 kB / 486.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3116, allocations: 0 / 486.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3116, allocations: 8 kB / 486.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3116, allocations: 4 kB / 486.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3116, allocations: 0 / 486.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.3119, allocations: 199.4 kB / 486.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.363e-05/0.312, allocations: 84.95 kB / 486.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.312, allocations: 8 kB / 486.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.49e-05/0.3121, allocations: 0 / 486.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.3e-05/0.3121, allocations: 11.97 kB / 486.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.3122, allocations: 4 kB / 486.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.436e-05/0.3122, allocations: 91.27 kB / 486.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3122, allocations: 0 / 486.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002414/0.3125, allocations: 28 kB / 486.5 MB, free: 12.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001312/0.3126, allocations: 103.2 kB / 486.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.3128, allocations: 59.92 kB / 486.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3128, allocations: 0 / 486.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.19e-05/0.3128, allocations: 32.17 kB / 486.7 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.3132, allocations: 16.86 kB / 486.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007795/0.3139, allocations: 0.5209 MB / 487.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.3142, allocations: 0.7043 MB / 488 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.056e-05/0.3143, allocations: 16.41 kB / 488 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.3143, allocations: 11.44 kB / 488 MB, free: 10.68 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3143, allocations: 0 / 488 MB, free: 10.68 MB / 362.7 MB Notification: Performance of Templates: time 0.003226/0.3176, allocations: 0.8498 MB / 488.8 MB, free: 9.848 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches