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.001115/0.001115, allocations: 180.3 kB / 16.38 MB, free: 5.742 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.297/1.297, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0009017/0.0009017, allocations: 102.5 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002345/0.0002346, allocations: 11.94 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2046, allocations: 50.39 MB / 401.5 MB, free: 32.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09426/0.2989, allocations: 77.87 MB / 479.4 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.2991, allocations: 75.95 kB / 479.4 MB, free: 2.562 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006619/0.3058, allocations: 2.527 MB / 482 MB, free: 32 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3058, allocations: 0 / 482 MB, free: 32 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.3058, allocations: 4 kB / 482 MB, free: 28 kB / 346.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.0004398/0.3063, allocations: 395.5 kB / 482.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3063, allocations: 8.031 kB / 482.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.3065, allocations: 27.84 kB / 482.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.3067, allocations: 190.8 kB / 482.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.3067, allocations: 12.12 kB / 482.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.3068, allocations: 11.94 kB / 482.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.3069, allocations: 94.34 kB / 482.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.307, allocations: 4 kB / 482.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.307, allocations: 4 kB / 482.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.307, allocations: 4 kB / 482.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.3071, allocations: 56.48 kB / 482.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007213/0.3078, allocations: 493.9 kB / 483.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.3081, allocations: 86.56 kB / 483.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.3081, allocations: 0 / 483.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.3082, allocations: 30.56 kB / 483.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.3082, allocations: 0 / 483.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002314/0.3084, allocations: 97.77 kB / 483.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.3085, allocations: 55.41 kB / 483.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.057e-05/0.3085, allocations: 109 kB / 483.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.3086, allocations: 25.7 kB / 483.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.989e-05/0.3086, allocations: 111.8 kB / 483.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.3087, allocations: 31.55 kB / 483.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.3087, allocations: 4 kB / 483.8 MB, free: 14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.3088, allocations: 322.8 kB / 484.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.367e-05/0.3089, allocations: 20 kB / 484.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.734e-05/0.3089, allocations: 55.92 kB / 484.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.215e-05/0.309, allocations: 27.98 kB / 484.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.309, allocations: 3.938 kB / 484.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001551/0.3092, allocations: 105.5 kB / 484.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3092, allocations: 4 kB / 484.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3092, allocations: 4.094 kB / 484.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3092, allocations: 4 kB / 484.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.3094, allocations: 27.92 kB / 484.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.3094, allocations: 4 kB / 484.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.716e-05/0.3094, allocations: 12.03 kB / 484.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.3095, allocations: 7.938 kB / 484.4 MB, free: 13.39 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 9.465e-05/0.3096, allocations: 121.8 kB / 484.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.3096, allocations: 15.83 kB / 484.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.3097, allocations: 20.36 kB / 484.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3097, allocations: 0 / 484.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3097, allocations: 0 / 484.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3097, allocations: 3.938 kB / 484.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.3099, allocations: 197.6 kB / 484.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.31, allocations: 0 / 484.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.3101, allocations: 24 kB / 484.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3101, allocations: 0 / 484.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3101, allocations: 0 / 484.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3101, allocations: 0 / 484.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3101, allocations: 3.984 kB / 484.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.3104, allocations: 211.7 kB / 484.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.3105, allocations: 92.94 kB / 485 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.3105, allocations: 4 kB / 485 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.954e-05/0.3106, allocations: 0 / 485 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.3106, allocations: 7.938 kB / 485 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.3106, allocations: 0 / 485 MB, free: 12.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.86e-05/0.3107, allocations: 95.27 kB / 485.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3107, allocations: 4 kB / 485.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002707/0.3109, allocations: 27.91 kB / 485.2 MB, free: 12.48 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.0001241/0.3111, allocations: 107.2 kB / 485.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.3112, allocations: 55.92 kB / 485.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.3112, allocations: 0 / 485.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.807e-05/0.3113, allocations: 27.98 kB / 485.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.3115, allocations: 19.56 kB / 485.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007795/0.3123, allocations: 0.5234 MB / 485.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.3126, allocations: 0.7082 MB / 486.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.569e-05/0.3127, allocations: 4.438 kB / 486.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.3127, allocations: 11.44 kB / 486.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3127, allocations: 192 / 486.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of Templates: time 0.002935/0.3157, allocations: 0.843 MB / 487.5 MB, free: 10.14 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/jenkins/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