Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 182.5 kB / 18.04 MB, free: 3.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 205.4 MB / 224.2 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009509/0.0009509, allocations: 85.55 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003122, allocations: 15.98 kB / 329.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1985, allocations: 47.57 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08094/0.2795, allocations: 77.12 MB / 454.1 MB, free: 3.434 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001914/0.2797, allocations: 79.97 kB / 454.2 MB, free: 3.355 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006507/0.2862, allocations: 2.506 MB / 456.7 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2863, allocations: 0 / 456.7 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.2863, allocations: 4 kB / 456.7 MB, free: 0.8438 MB / 330.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.00041/0.2867, allocations: 387.7 kB / 457.1 MB, free: 424 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2867, allocations: 12.03 kB / 457.1 MB, free: 412 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.2869, allocations: 24.83 kB / 457.1 MB, free: 388 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.2871, allocations: 192.2 kB / 457.3 MB, free: 156 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.2871, allocations: 4.562 kB / 457.3 MB, free: 152 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.2872, allocations: 16.31 kB / 457.4 MB, free: 136 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.2873, allocations: 94.53 kB / 457.5 MB, free: 36 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.2874, allocations: 0 / 457.5 MB, free: 36 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2874, allocations: 4 kB / 457.5 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.2874, allocations: 0 / 457.5 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.2875, allocations: 63.53 kB / 457.5 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007062/0.2882, allocations: 497 kB / 458 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.2885, allocations: 82.53 kB / 458.1 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.651e-05/0.2886, allocations: 28.89 kB / 458.1 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.2886, allocations: 4 kB / 458.1 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.2886, allocations: 34.56 kB / 458.1 MB, free: 15.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 2.755e-06/0.2886, allocations: 0 / 458.1 MB, free: 15.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002258/0.2889, allocations: 93.53 kB / 458.2 MB, free: 15.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.2889, allocations: 51.41 kB / 458.3 MB, free: 15.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.289, allocations: 129.7 kB / 458.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.289, allocations: 25.7 kB / 458.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.842e-05/0.2891, allocations: 111.9 kB / 458.6 MB, free: 14.81 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.2892, allocations: 35.69 kB / 458.6 MB, free: 14.78 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.2892, allocations: 0 / 458.6 MB, free: 14.78 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.2893, allocations: 318.8 kB / 458.9 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.286e-05/0.2893, allocations: 23.98 kB / 458.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.48e-05/0.2894, allocations: 55.05 kB / 459 MB, free: 14.37 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.2895, allocations: 75.38 kB / 459 MB, free: 14.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2895, allocations: 0 / 459 MB, free: 14.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001697/0.2897, allocations: 113.5 kB / 459.2 MB, free: 14.17 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2897, allocations: 6.188 kB / 459.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2898, allocations: 4 kB / 459.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.2898, allocations: 0 / 459.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.2899, allocations: 27.98 kB / 459.2 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2899, allocations: 8.094 kB / 459.2 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.366e-05/0.29, allocations: 11.78 kB / 459.2 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.29, allocations: 8.312 kB / 459.2 MB, free: 14.11 MB / 346.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.422e-05/0.2901, allocations: 117.9 kB / 459.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.2901, allocations: 11.84 kB / 459.3 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.748e-05/0.2902, allocations: 16.38 kB / 459.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2902, allocations: 0 / 459.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2902, allocations: 3.984 kB / 459.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.2902, allocations: 7.938 kB / 459.4 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.2904, allocations: 193.6 kB / 459.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2904, allocations: 0 / 459.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.2905, allocations: 19.98 kB / 459.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2906, allocations: 0 / 459.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.2906, allocations: 0 / 459.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.2906, allocations: 4 kB / 459.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.2906, allocations: 0 / 459.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.2909, allocations: 219.7 kB / 459.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.291, allocations: 89.02 kB / 459.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.291, allocations: 4.031 kB / 459.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.77e-05/0.2911, allocations: 4 kB / 459.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.785e-05/0.2911, allocations: 7.938 kB / 459.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.2911, allocations: 0 / 459.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.685e-05/0.2912, allocations: 95.2 kB / 460 MB, free: 13.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2912, allocations: 4 kB / 460 MB, free: 13.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002407/0.2915, allocations: 27.94 kB / 460 MB, free: 13.2 MB / 346.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.0001045/0.2916, allocations: 99.25 kB / 460.1 MB, free: 13.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.2917, allocations: 59.91 kB / 460.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2917, allocations: 0 / 460.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.818e-05/0.2918, allocations: 27.94 kB / 460.2 MB, free: 13.01 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.2921, allocations: 15.98 kB / 460.2 MB, free: 13 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007276/0.2928, allocations: 0.5245 MB / 460.8 MB, free: 12.44 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.2931, allocations: 0.6965 MB / 461.5 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.188e-05/0.2931, allocations: 9.5 kB / 461.5 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/0.2932, allocations: 11.44 kB / 461.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2932, allocations: 3.938 kB / 461.5 MB, free: 11.69 MB / 346.7 MB Notification: Performance of Templates: time 0.01535/0.3085, allocations: 0.8582 MB / 462.3 MB, free: 10.84 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches