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.001091/0.001091, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001262/0.001262, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001206, allocations: 60.02 kB / 306.9 MB, free: 0.6641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09563/0.09685, allocations: 50.53 MB / 357.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003641/0.1005, allocations: 1.996 MB / 359.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.102, allocations: 0.6973 MB / 360.2 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.1022, allocations: 4 kB / 360.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.1025, allocations: 15.8 kB / 360.2 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.1026, allocations: 39.64 kB / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.103, allocations: 63.8 kB / 360.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.1032, allocations: 143.3 kB / 360.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.1034, allocations: 41.06 kB / 360.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.1035, allocations: 51.8 kB / 360.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.1037, allocations: 63.7 kB / 360.6 MB, free: 11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.1037, allocations: 8 kB / 360.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.1038, allocations: 31.92 kB / 360.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.1039, allocations: 27.91 kB / 360.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.36e-05/0.104, allocations: 59.73 kB / 360.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.1043, allocations: 147.8 kB / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.1043, allocations: 4 kB / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1043, allocations: 0 / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.1043, allocations: 0 / 360.8 MB, free: 10.73 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.0008173/0.1051, allocations: 435 kB / 361.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1052, allocations: 12.03 kB / 361.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.1054, allocations: 36.67 kB / 361.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.1056, allocations: 207.2 kB / 361.5 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1056, allocations: 8.375 kB / 361.5 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.462e-05/0.1057, allocations: 8.375 kB / 361.5 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.106, allocations: 118.7 kB / 361.7 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.106, allocations: 4 kB / 361.7 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.106, allocations: 4 kB / 361.7 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.106, allocations: 8 kB / 361.7 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.1063, allocations: 91.86 kB / 361.8 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009043/0.1072, allocations: 495.3 kB / 362.2 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.1077, allocations: 118.5 kB / 362.4 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.1078, allocations: 48.88 kB / 362.4 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.1078, allocations: 4 kB / 362.4 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.1079, allocations: 34.56 kB / 362.4 MB, free: 8.961 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/0.1079, allocations: 0 / 362.4 MB, free: 8.961 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001206/0.1091, allocations: 485.8 kB / 362.9 MB, free: 8.434 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.1092, allocations: 51.41 kB / 363 MB, free: 8.371 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.1093, allocations: 148.5 kB / 363.1 MB, free: 8.219 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.1093, allocations: 25.7 kB / 363.1 MB, free: 8.188 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.089e-05/0.1094, allocations: 116.2 kB / 363.2 MB, free: 8.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.1094, allocations: 43.3 kB / 363.3 MB, free: 8.027 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.34e-05/0.1095, allocations: 37.62 kB / 363.3 MB, free: 7.984 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1096, allocations: 318.8 kB / 363.6 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.1098, allocations: 43.97 kB / 363.7 MB, free: 7.621 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.1099, allocations: 75.39 kB / 363.8 MB, free: 7.535 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.1102, allocations: 127.3 kB / 363.9 MB, free: 7.398 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1103, allocations: 0 / 363.9 MB, free: 7.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003643/0.1106, allocations: 168.7 kB / 364 MB, free: 7.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1107, allocations: 7.938 kB / 364.1 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1107, allocations: 0 / 364.1 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.1107, allocations: 4 kB / 364.1 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.1109, allocations: 39.91 kB / 364.1 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.1109, allocations: 4 kB / 364.1 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.111, allocations: 8 kB / 364.1 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.111, allocations: 8.062 kB / 364.1 MB, free: 7.16 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.1112, allocations: 118.5 kB / 364.2 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.1112, allocations: 27.77 kB / 364.3 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.783e-05/0.1113, allocations: 12.84 kB / 364.3 MB, free: 6.996 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.1113, allocations: 4 kB / 364.3 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.1113, allocations: 0 / 364.3 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1113, allocations: 3.938 kB / 364.3 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007036/0.112, allocations: 479.9 kB / 364.7 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.112, allocations: 4 kB / 364.8 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.1122, allocations: 31.97 kB / 364.8 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.1123, allocations: 4 kB / 364.8 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.1123, allocations: 0 / 364.8 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.1123, allocations: 0 / 364.8 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1123, allocations: 12 kB / 364.8 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005044/0.1128, allocations: 297.9 kB / 365.1 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.1129, allocations: 84.92 kB / 365.2 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.1129, allocations: 4 kB / 365.2 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.113, allocations: 16.03 kB / 365.2 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.1131, allocations: 7.984 kB / 365.2 MB, free: 5.965 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.1131, allocations: 4 kB / 365.2 MB, free: 5.961 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.412e-05/0.1132, allocations: 103.3 kB / 365.3 MB, free: 5.859 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1132, allocations: 0 / 365.3 MB, free: 5.859 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.1135, allocations: 28 kB / 365.3 MB, free: 5.832 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 (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.0001235/0.1136, allocations: 115.1 kB / 365.4 MB, free: 5.707 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000382/0.114, allocations: 119.8 kB / 365.6 MB, free: 5.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.114, allocations: 0 / 365.6 MB, free: 5.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.1142, allocations: 55.91 kB / 365.6 MB, free: 5.535 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.1146, allocations: 29.27 kB / 365.6 MB, free: 5.512 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008738/0.1155, allocations: 0.4978 MB / 366.1 MB, free: 4.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.1158, allocations: 0.7119 MB / 366.9 MB, free: 4.242 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.386e-05/0.1158, allocations: 12.64 kB / 366.9 MB, free: 4.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.1159, allocations: 15.44 kB / 366.9 MB, free: 4.215 MB / 302.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1159, allocations: 0 / 366.9 MB, free: 4.215 MB / 302.1 MB Notification: Performance of Templates: time 0.004017/0.1199, allocations: 1.371 MB / 368.3 MB, free: 2.863 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