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/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.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/ModelicaServices trunk/package.mo): time 0.0008305/0.0008305, allocations: 100.8 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009186/0.0009187, allocations: 200.5 kB / 17.91 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000213/0.0002131, allocations: 4 kB / 307.1 MB, free: 1.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09534/0.09557, allocations: 51.52 MB / 358.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002202/0.09781, allocations: 1.671 MB / 360.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.09891, allocations: 0.6473 MB / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.09904, allocations: 0 / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.09917, allocations: 23.84 kB / 361 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.346e-05/0.09927, allocations: 31.7 kB / 361 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.09951, allocations: 43.88 kB / 361 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.0997, allocations: 131.3 kB / 361.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.09984, allocations: 33.06 kB / 361.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.197e-05/0.09993, allocations: 47.78 kB / 361.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.962e-05/0.1, allocations: 59.72 kB / 361.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1001, allocations: 4 kB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.808e-05/0.1001, allocations: 23.98 kB / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.1002, allocations: 23.91 kB / 361.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.697e-05/0.1002, allocations: 45.64 kB / 361.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.1004, allocations: 108 kB / 361.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1004, allocations: 0 / 361.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1004, allocations: 0 / 361.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.1004, allocations: 0 / 361.5 MB, free: 10.76 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.0005733/0.101, allocations: 426.8 kB / 361.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.101, allocations: 12.03 kB / 361.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.1012, allocations: 27.88 kB / 362 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.1014, allocations: 202.8 kB / 362.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.1015, allocations: 8 kB / 362.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.1015, allocations: 8 kB / 362.2 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.1018, allocations: 126.7 kB / 362.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.1018, allocations: 3.906 kB / 362.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.1019, allocations: 4 kB / 362.3 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.1019, allocations: 4 kB / 362.3 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.1022, allocations: 107.8 kB / 362.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009111/0.1031, allocations: 0.4954 MB / 362.9 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/0.1035, allocations: 118.6 kB / 363 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.1036, allocations: 56.83 kB / 363.1 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.1036, allocations: 4 kB / 363.1 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.1037, allocations: 30.56 kB / 363.1 MB, free: 8.977 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.1037, allocations: 0 / 363.1 MB, free: 8.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001158/0.1048, allocations: 0.5056 MB / 363.6 MB, free: 8.418 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.1049, allocations: 51.41 kB / 363.7 MB, free: 8.355 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.105, allocations: 136.7 kB / 363.8 MB, free: 8.211 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.105, allocations: 25.7 kB / 363.8 MB, free: 8.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.661e-05/0.1051, allocations: 112.2 kB / 363.9 MB, free: 8.066 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/0.1052, allocations: 51.3 kB / 364 MB, free: 8.016 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-06/0.1052, allocations: 0 / 364 MB, free: 8.016 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1053, allocations: 322.8 kB / 364.3 MB, free: 7.691 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.1055, allocations: 51.97 kB / 364.4 MB, free: 7.641 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.1056, allocations: 79.39 kB / 364.4 MB, free: 7.551 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.1058, allocations: 63.97 kB / 364.5 MB, free: 7.488 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1058, allocations: 0 / 364.5 MB, free: 7.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003371/0.1061, allocations: 173.4 kB / 364.7 MB, free: 7.312 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1062, allocations: 8 kB / 364.7 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1062, allocations: 3.938 kB / 364.7 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1062, allocations: 7.953 kB / 364.7 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.1064, allocations: 39.97 kB / 364.7 MB, free: 7.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1064, allocations: 0 / 364.7 MB, free: 7.254 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.1065, allocations: 19.98 kB / 364.7 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.1065, allocations: 4 kB / 364.7 MB, free: 7.23 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 (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 9.165e-05/0.1066, allocations: 126.4 kB / 364.9 MB, free: 7.098 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.1067, allocations: 7.906 kB / 364.9 MB, free: 7.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.1067, allocations: 20.84 kB / 364.9 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1067, allocations: 3.953 kB / 364.9 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.1067, allocations: 7.984 kB / 364.9 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1068, allocations: 0 / 364.9 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006783/0.1074, allocations: 480 kB / 365.4 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1075, allocations: 4 kB / 365.4 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.1077, allocations: 35.92 kB / 365.4 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1077, allocations: 8.016 kB / 365.4 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.1077, allocations: 8 kB / 365.4 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1077, allocations: 0 / 365.4 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1077, allocations: 0 / 365.4 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005349/0.1082, allocations: 326.8 kB / 365.8 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.1083, allocations: 85.02 kB / 365.8 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.1083, allocations: 11.95 kB / 365.8 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.1085, allocations: 15.98 kB / 365.9 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.1085, allocations: 8 kB / 365.9 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.1085, allocations: 7.984 kB / 365.9 MB, free: 5.992 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.074e-05/0.1086, allocations: 101.5 kB / 366 MB, free: 5.895 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1086, allocations: 4 kB / 366 MB, free: 5.891 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.1089, allocations: 28 kB / 366 MB, free: 5.863 MB / 302.1 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.0001096/0.109, allocations: 95.25 kB / 366.1 MB, free: 5.758 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003307/0.1094, allocations: 127.8 kB / 366.2 MB, free: 5.633 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.1094, allocations: 0 / 366.2 MB, free: 5.633 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.1095, allocations: 68.16 kB / 366.3 MB, free: 5.566 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.1099, allocations: 23.94 kB / 366.3 MB, free: 5.543 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008812/0.1108, allocations: 0.5833 MB / 366.9 MB, free: 4.926 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.1111, allocations: 0.7043 MB / 367.6 MB, free: 4.195 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.007e-05/0.1111, allocations: 16.64 kB / 367.6 MB, free: 4.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.1112, allocations: 11.44 kB / 367.6 MB, free: 4.168 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1112, allocations: 3.938 kB / 367.6 MB, free: 4.164 MB / 302.1 MB Notification: Performance of Templates: time 0.003564/0.1148, allocations: 1.216 MB / 368.9 MB, free: 2.965 MB / 302.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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