Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.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.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001017/0.001017, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0011/0.0011, allocations: 103.9 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.01e-05/1.995e-05, allocations: 0 / 343.7 MB, free: 8.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1166, allocations: 51.48 MB / 395.2 MB, free: 4.789 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3442/0.4608, allocations: 78.5 MB / 473.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.4611, allocations: 70.89 kB / 473.7 MB, free: 13.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007375/0.4685, allocations: 2.916 MB / 476.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4685, allocations: 0 / 476.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.4686, allocations: 4 kB / 476.7 MB, free: 11.59 MB / 346.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.000437/0.469, allocations: 403.2 kB / 477 MB, free: 11.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.469, allocations: 8.031 kB / 477.1 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.4692, allocations: 32.69 kB / 477.1 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.4694, allocations: 198.9 kB / 477.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.4694, allocations: 4.859 kB / 477.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.4695, allocations: 9.078 kB / 477.3 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001548/0.4696, allocations: 55.62 kB / 477.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.4698, allocations: 85.97 kB / 477.4 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.4698, allocations: 4 kB / 477.4 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.4698, allocations: 0 / 477.4 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4698, allocations: 0 / 477.4 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007953/0.4706, allocations: 0.4991 MB / 477.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.4709, allocations: 85.97 kB / 478 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.494e-05/0.4709, allocations: 27.17 kB / 478 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.471, allocations: 0 / 478 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.471, allocations: 30.56 kB / 478.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.471, allocations: 0 / 478.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002281/0.4712, allocations: 87.41 kB / 478.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.4713, allocations: 60.77 kB / 478.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.922e-05/0.4714, allocations: 115.9 kB / 478.3 MB, free: 10.01 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.4714, allocations: 27.48 kB / 478.4 MB, free: 9.977 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.4714, allocations: 119.8 kB / 478.5 MB, free: 9.863 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.4715, allocations: 34.12 kB / 478.5 MB, free: 9.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.4715, allocations: 0 / 478.5 MB, free: 9.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.002e-05/0.4716, allocations: 317.1 kB / 478.8 MB, free: 9.527 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.565e-05/0.4716, allocations: 26.3 kB / 478.8 MB, free: 9.512 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.543e-05/0.4717, allocations: 64.72 kB / 478.9 MB, free: 9.453 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.854e-05/0.4718, allocations: 26.09 kB / 478.9 MB, free: 9.441 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4718, allocations: 0 / 478.9 MB, free: 9.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001968/0.472, allocations: 107.4 kB / 479 MB, free: 9.352 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.472, allocations: 7.938 kB / 479 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.472, allocations: 8.094 kB / 479.1 MB, free: 9.336 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4721, allocations: 1.406 kB / 479.1 MB, free: 9.336 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.4723, allocations: 36.42 kB / 479.1 MB, free: 9.309 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.4723, allocations: 0 / 479.1 MB, free: 9.309 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.4724, allocations: 18.91 kB / 479.1 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.4725, allocations: 10.94 kB / 479.1 MB, free: 9.285 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.075e-05/0.4725, allocations: 105 kB / 479.2 MB, free: 9.176 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.4726, allocations: 7.906 kB / 479.2 MB, free: 9.168 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.31e-05/0.4726, allocations: 18.97 kB / 479.2 MB, free: 9.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4726, allocations: 0 / 479.2 MB, free: 9.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.4727, allocations: 0.75 kB / 479.2 MB, free: 9.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.4727, allocations: 0 / 479.2 MB, free: 9.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.4729, allocations: 189.3 kB / 479.4 MB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4729, allocations: 0 / 479.4 MB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.4731, allocations: 30.05 kB / 479.5 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.4731, allocations: 8 kB / 479.5 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.4732, allocations: 0 / 479.5 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.4732, allocations: 3.938 kB / 479.5 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4732, allocations: 0 / 479.5 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.4735, allocations: 214 kB / 479.7 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.4735, allocations: 90.64 kB / 479.8 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.4735, allocations: 0 / 479.8 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.4737, allocations: 14.48 kB / 479.8 MB, free: 8.633 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.4738, allocations: 6.391 kB / 479.8 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.4738, allocations: 1.078 kB / 479.8 MB, free: 8.629 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.096e-05/0.4738, allocations: 102.2 kB / 479.9 MB, free: 8.543 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4738, allocations: 0 / 479.9 MB, free: 8.543 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003672/0.4742, allocations: 31.84 kB / 479.9 MB, free: 8.512 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0001193/0.4743, allocations: 97.03 kB / 480 MB, free: 8.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001764/0.4745, allocations: 59.62 kB / 480.1 MB, free: 8.367 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4745, allocations: 4.062 kB / 480.1 MB, free: 8.363 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.945e-05/0.4746, allocations: 39.5 kB / 480.1 MB, free: 8.336 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.475, allocations: 20.7 kB / 480.1 MB, free: 8.328 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007641/0.4757, allocations: 328.4 kB / 480.5 MB, free: 8.035 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.4759, allocations: 0.7166 MB / 481.2 MB, free: 7.309 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.63e-05/0.476, allocations: 10.14 kB / 481.2 MB, free: 7.301 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.4761, allocations: 13.12 kB / 481.2 MB, free: 7.289 MB / 346.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4761, allocations: 0 / 481.2 MB, free: 7.289 MB / 346.7 MB Notification: Performance of Templates: time 0.004132/0.4802, allocations: 0.9869 MB / 482.2 MB, free: 6.75 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,inertia.phi,heatCapacitor.T,eddyCurrentTorque.lossPower Variables in the result:eddyCurrentTorque.T,eddyCurrentTorque.TRef,eddyCurrentTorque.alpha20,eddyCurrentTorque.constantExcitation,eddyCurrentTorque.lossPower,eddyCurrentTorque.phi,eddyCurrentTorque.tau_nominal,eddyCurrentTorque.useExcitationInput,eddyCurrentTorque.w_nominal,heatCapacitor.C,heatCapacitor.T,inertia.J,inertia.phi,ramp.duration,ramp.height,ramp.offset,ramp.startTime,time