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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001213/0.001213, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001142, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 60.53 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08563/0.08682, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003059/0.08992, allocations: 1.98 MB / 360.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.09096, allocations: 0.6973 MB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.564e-05/0.09106, allocations: 7.938 kB / 361.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.0912, allocations: 19.8 kB / 361.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.814e-05/0.09129, allocations: 39.62 kB / 361.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.09152, allocations: 55.86 kB / 361.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.09171, allocations: 143.3 kB / 361.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.09184, allocations: 33.09 kB / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.846e-05/0.09192, allocations: 59.72 kB / 361.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.467e-05/0.09202, allocations: 59.77 kB / 362 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.09205, allocations: 8 kB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.283e-05/0.09214, allocations: 27.98 kB / 362 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.09217, allocations: 19.92 kB / 362 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.396e-05/0.09224, allocations: 67.67 kB / 362.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.09245, allocations: 147.5 kB / 362.2 MB, free: 9.953 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.09246, allocations: 7.875 kB / 362.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.09247, allocations: 0 / 362.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.09248, allocations: 0 / 362.3 MB, free: 9.945 MB / 302.1 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.0006187/0.09311, allocations: 439 kB / 362.7 MB, free: 9.469 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.09315, allocations: 8.031 kB / 362.7 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.09333, allocations: 32.73 kB / 362.7 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.09356, allocations: 196.1 kB / 362.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.09358, allocations: 8.375 kB / 362.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.09362, allocations: 16.31 kB / 362.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.09389, allocations: 118.6 kB / 363.1 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.09391, allocations: 0 / 363.1 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.09393, allocations: 4 kB / 363.1 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.09394, allocations: 4 kB / 363.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.09419, allocations: 91.94 kB / 363.1 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008086/0.09501, allocations: 0.5165 MB / 363.7 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.09532, allocations: 110.5 kB / 363.8 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.09545, allocations: 36.83 kB / 363.8 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.09547, allocations: 7.938 kB / 363.8 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.0955, allocations: 30.56 kB / 363.8 MB, free: 8.172 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.0955, allocations: 0 / 363.8 MB, free: 8.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004116/0.09592, allocations: 153.6 kB / 364 MB, free: 8.016 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.09596, allocations: 55.41 kB / 364.1 MB, free: 7.949 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.571e-05/0.09607, allocations: 133.7 kB / 364.2 MB, free: 7.809 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.09609, allocations: 25.7 kB / 364.2 MB, free: 7.777 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.288e-05/0.09615, allocations: 116.1 kB / 364.3 MB, free: 7.656 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.09619, allocations: 39.45 kB / 364.4 MB, free: 7.617 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/0.09624, allocations: 25.72 kB / 364.4 MB, free: 7.586 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.405e-05/0.09634, allocations: 322.8 kB / 364.7 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.09646, allocations: 43.91 kB / 364.7 MB, free: 7.219 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.09659, allocations: 63.41 kB / 364.8 MB, free: 7.145 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.09683, allocations: 115.2 kB / 364.9 MB, free: 7.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.09684, allocations: 0 / 364.9 MB, free: 7.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00031/0.09715, allocations: 145.4 kB / 365.1 MB, free: 6.871 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.09718, allocations: 6.656 kB / 365.1 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.09719, allocations: 4 kB / 365.1 MB, free: 6.863 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.09721, allocations: 4.094 kB / 365.1 MB, free: 6.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.09737, allocations: 31.92 kB / 365.1 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.09738, allocations: 4 kB / 365.1 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.601e-05/0.09749, allocations: 19.83 kB / 365.1 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.0975, allocations: 4 kB / 365.1 MB, free: 6.801 MB / 302.1 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.44e-05/0.0976, allocations: 122.4 kB / 365.3 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.09764, allocations: 11.84 kB / 365.3 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.09769, allocations: 20.72 kB / 365.3 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.0977, allocations: 4 kB / 365.3 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.09771, allocations: 0 / 365.3 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.09773, allocations: 11.92 kB / 365.3 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.09795, allocations: 205.6 kB / 365.5 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.09796, allocations: 0 / 365.5 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.09815, allocations: 31.91 kB / 365.5 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.09816, allocations: 4 kB / 365.5 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.09818, allocations: 0 / 365.5 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.09818, allocations: 0 / 365.5 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.09819, allocations: 0 / 365.5 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.09862, allocations: 263.6 kB / 365.8 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.09868, allocations: 89.08 kB / 365.9 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.09872, allocations: 11.94 kB / 365.9 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.09883, allocations: 4 kB / 365.9 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.09888, allocations: 3.984 kB / 365.9 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.0989, allocations: 8 kB / 365.9 MB, free: 5.934 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.841e-05/0.09896, allocations: 99.27 kB / 366 MB, free: 5.836 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09897, allocations: 0 / 366 MB, free: 5.836 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.09923, allocations: 31.91 kB / 366 MB, free: 5.805 MB / 302.1 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001088/0.09934, allocations: 99.23 kB / 366.1 MB, free: 5.695 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002765/0.09962, allocations: 91.95 kB / 366.2 MB, free: 5.605 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.09964, allocations: 8.062 kB / 366.2 MB, free: 5.598 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.09976, allocations: 39.97 kB / 366.3 MB, free: 5.559 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.1001, allocations: 27.3 kB / 366.3 MB, free: 5.535 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007571/0.1009, allocations: 471.3 kB / 366.8 MB, free: 5.051 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.1012, allocations: 0.708 MB / 367.5 MB, free: 4.316 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.586e-05/0.1012, allocations: 8.547 kB / 367.5 MB, free: 4.309 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.1013, allocations: 11.44 kB / 367.5 MB, free: 4.297 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1013, allocations: 4 kB / 367.5 MB, free: 4.293 MB / 302.1 MB Notification: Performance of Templates: time 0.003491/0.1048, allocations: 1.176 MB / 368.7 MB, free: 3.133 MB / 302.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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