Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.204/1.204, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008239/0.0008239, allocations: 101 kB / 297.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002776/0.0002778, allocations: 4 kB / 357.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1881, allocations: 51.48 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09003/0.2782, allocations: 79.36 MB / 488.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/0.2784, allocations: 75.89 kB / 488.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008109/0.2865, allocations: 3.023 MB / 491.9 MB, free: 8.145 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2865, allocations: 0 / 491.9 MB, free: 8.145 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.2866, allocations: 4 kB / 491.9 MB, free: 8.141 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00051/0.2871, allocations: 434.8 kB / 492.3 MB, free: 7.668 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2871, allocations: 12.03 kB / 492.3 MB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.2873, allocations: 27.8 kB / 492.3 MB, free: 7.629 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.2875, allocations: 202.8 kB / 492.5 MB, free: 7.391 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.2875, allocations: 8 kB / 492.5 MB, free: 7.383 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.2875, allocations: 12 kB / 492.5 MB, free: 7.371 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.2878, allocations: 117.6 kB / 492.7 MB, free: 7.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.2878, allocations: 4 kB / 492.7 MB, free: 7.246 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.2878, allocations: 4 kB / 492.7 MB, free: 7.242 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.2879, allocations: 4 kB / 492.7 MB, free: 7.238 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002655/0.2881, allocations: 107.9 kB / 492.8 MB, free: 7.133 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00075/0.2889, allocations: 495.4 kB / 493.3 MB, free: 6.594 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.2892, allocations: 130.5 kB / 493.4 MB, free: 6.457 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.2893, allocations: 4 kB / 493.4 MB, free: 6.453 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.2893, allocations: 30.56 kB / 493.4 MB, free: 6.414 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.2893, allocations: 0 / 493.4 MB, free: 6.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009874/0.2903, allocations: 0.4997 MB / 493.9 MB, free: 5.867 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.2903, allocations: 55.36 kB / 494 MB, free: 5.801 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.745e-05/0.2904, allocations: 131.3 kB / 494.1 MB, free: 5.664 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.2904, allocations: 25.7 kB / 494.1 MB, free: 5.633 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.2905, allocations: 116.2 kB / 494.2 MB, free: 5.516 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.2905, allocations: 43.3 kB / 494.3 MB, free: 5.473 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-06/0.2905, allocations: 4 kB / 494.3 MB, free: 5.469 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.196e-05/0.2906, allocations: 330.8 kB / 494.6 MB, free: 5.137 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.2908, allocations: 47.97 kB / 494.7 MB, free: 5.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.2909, allocations: 75.31 kB / 494.7 MB, free: 5.004 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.2911, allocations: 59.98 kB / 494.8 MB, free: 4.945 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2911, allocations: 0 / 494.8 MB, free: 4.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003547/0.2914, allocations: 181.5 kB / 495 MB, free: 4.762 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.2915, allocations: 7.938 kB / 495 MB, free: 4.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2915, allocations: 4 kB / 495 MB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.2915, allocations: 0 / 495 MB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.2917, allocations: 39.94 kB / 495 MB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.2917, allocations: 4 kB / 495 MB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.2918, allocations: 16.05 kB / 495 MB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.2918, allocations: 8 kB / 495 MB, free: 4.684 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 (18): * Single equations (assignments): 18 * 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.818e-05/0.2919, allocations: 121.8 kB / 495.2 MB, free: 4.555 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.292, allocations: 19.83 kB / 495.2 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.65e-05/0.292, allocations: 12.84 kB / 495.2 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.292, allocations: 4 kB / 495.2 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.292, allocations: 3.953 kB / 495.2 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.292, allocations: 0 / 495.2 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006495/0.2927, allocations: 484 kB / 495.7 MB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2927, allocations: 0 / 495.7 MB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.2929, allocations: 43.97 kB / 495.7 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.2929, allocations: 4 kB / 495.7 MB, free: 3.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.293, allocations: 3.953 kB / 495.7 MB, free: 3.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.293, allocations: 0 / 495.7 MB, free: 3.926 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.293, allocations: 4 kB / 495.7 MB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005065/0.2935, allocations: 342.3 kB / 496.1 MB, free: 3.559 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.2935, allocations: 92.86 kB / 496.2 MB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.2936, allocations: 11.94 kB / 496.2 MB, free: 3.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.2937, allocations: 12.03 kB / 496.2 MB, free: 3.426 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.2938, allocations: 11.98 kB / 496.2 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.2938, allocations: 4 kB / 496.2 MB, free: 3.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.616e-05/0.2938, allocations: 106.2 kB / 496.3 MB, free: 3.309 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2938, allocations: 0 / 496.3 MB, free: 3.309 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002405/0.2941, allocations: 28 kB / 496.3 MB, free: 3.281 MB / 362.7 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 (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 Backend phase and start with SimCode phase: time 0.0001177/0.2942, allocations: 103.2 kB / 496.4 MB, free: 3.172 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003024/0.2945, allocations: 123.4 kB / 496.5 MB, free: 3.055 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2945, allocations: 128 / 496.5 MB, free: 3.055 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.2947, allocations: 67.91 kB / 496.6 MB, free: 2.988 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.2949, allocations: 23.88 kB / 496.6 MB, free: 2.965 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007662/0.2957, allocations: 0.5911 MB / 497.2 MB, free: 2.336 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.2959, allocations: 0.7199 MB / 497.9 MB, free: 1.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.866e-05/0.296, allocations: 8.641 kB / 498 MB, free: 1.582 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.841e-05/0.2961, allocations: 19.44 kB / 498 MB, free: 1.562 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2961, allocations: 0 / 498 MB, free: 1.562 MB / 362.7 MB Notification: Performance of Templates: time 0.003427/0.2995, allocations: 1.208 MB / 499.2 MB, free: 384 kB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mass.s,heatCapacitor.T,eddyCurrentForce.lossPower Variables in the result:eddyCurrentForce.T,eddyCurrentForce.TRef,eddyCurrentForce.alpha20,eddyCurrentForce.constantExcitation,eddyCurrentForce.f_nominal,eddyCurrentForce.lossPower,eddyCurrentForce.useExcitationInput,eddyCurrentForce.v_nominal,heatCapacitor.C,heatCapacitor.T,mass.L,mass.m,mass.s,mass.stateSelect,ramp.duration,ramp.height,ramp.offset,ramp.startTime,time