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.001097/0.001097, allocations: 115.8 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.00119/0.00119, allocations: 199.5 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.416/1.416, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 68.88 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09544/0.09674, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003298/0.1001, allocations: 1.984 MB / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.1011, allocations: 0.7051 MB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.014e-05/0.1012, allocations: 4 kB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.1014, allocations: 19.8 kB / 361.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.558e-05/0.1015, allocations: 43.62 kB / 361.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.1017, allocations: 55.75 kB / 361.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.1019, allocations: 151.3 kB / 361.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.1021, allocations: 37.08 kB / 361.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.262e-05/0.1021, allocations: 55.73 kB / 361.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.741e-05/0.1023, allocations: 59.77 kB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.1023, allocations: 8 kB / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.703e-05/0.1024, allocations: 31.97 kB / 362 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.1024, allocations: 27.86 kB / 362.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.571e-05/0.1025, allocations: 63.73 kB / 362.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.1027, allocations: 151.5 kB / 362.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1027, allocations: 0 / 362.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1027, allocations: 0 / 362.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1027, allocations: 0 / 362.3 MB, free: 9.934 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.0006432/0.1034, allocations: 443 kB / 362.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.1034, allocations: 8.031 kB / 362.7 MB, free: 9.445 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.1036, allocations: 28.73 kB / 362.7 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.1039, allocations: 204 kB / 362.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1039, allocations: 8.375 kB / 362.9 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.1039, allocations: 12.38 kB / 363 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.1043, allocations: 118.7 kB / 363.1 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1043, allocations: 0 / 363.1 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.1043, allocations: 8 kB / 363.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1043, allocations: 0 / 363.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.1046, allocations: 107.7 kB / 363.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007931/0.1054, allocations: 487.4 kB / 363.7 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.1057, allocations: 122.6 kB / 363.8 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.1059, allocations: 44.84 kB / 363.8 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.1059, allocations: 4 kB / 363.8 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.1059, allocations: 30.56 kB / 363.9 MB, free: 8.172 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.1059, allocations: 0 / 363.9 MB, free: 8.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001056/0.107, allocations: 489.8 kB / 364.3 MB, free: 7.641 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.107, allocations: 67.34 kB / 364.4 MB, free: 7.562 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.1072, allocations: 132.6 kB / 364.5 MB, free: 7.422 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1072, allocations: 29.7 kB / 364.6 MB, free: 7.387 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.388e-05/0.1073, allocations: 108.2 kB / 364.7 MB, free: 7.277 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.1073, allocations: 55.28 kB / 364.7 MB, free: 7.223 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/0.1074, allocations: 33.61 kB / 364.8 MB, free: 7.184 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1076, allocations: 322.8 kB / 365.1 MB, free: 6.859 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.1077, allocations: 43.97 kB / 365.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.1079, allocations: 85.98 kB / 365.2 MB, free: 6.723 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.1082, allocations: 122.7 kB / 365.3 MB, free: 6.594 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1082, allocations: 4 kB / 365.3 MB, free: 6.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003412/0.1086, allocations: 157.5 kB / 365.5 MB, free: 6.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1086, allocations: 11.94 kB / 365.5 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1086, allocations: 0 / 365.5 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1086, allocations: 0 / 365.5 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.1088, allocations: 43.91 kB / 365.5 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.1088, allocations: 0 / 365.5 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.283e-05/0.1089, allocations: 12.06 kB / 365.5 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.109, allocations: 8 kB / 365.6 MB, free: 6.355 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.00011/0.1091, allocations: 130.4 kB / 365.7 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.1091, allocations: 11.84 kB / 365.7 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/0.1092, allocations: 20.84 kB / 365.7 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1092, allocations: 0 / 365.7 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1092, allocations: 0 / 365.7 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1092, allocations: 4 kB / 365.7 MB, free: 6.184 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006872/0.1099, allocations: 475.9 kB / 366.2 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1099, allocations: 0 / 366.2 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.1101, allocations: 35.97 kB / 366.2 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1101, allocations: 0 / 366.2 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1101, allocations: 11.94 kB / 366.2 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1102, allocations: 4.062 kB / 366.2 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1102, allocations: 0 / 366.2 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000476/0.1106, allocations: 297 kB / 366.5 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.1107, allocations: 88.92 kB / 366.6 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.1107, allocations: 12.03 kB / 366.6 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.1109, allocations: 8 kB / 366.6 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.1109, allocations: 11.98 kB / 366.6 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.1109, allocations: 7.938 kB / 366.6 MB, free: 5.148 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.275e-05/0.111, allocations: 102.4 kB / 366.7 MB, free: 5.051 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.111, allocations: 0 / 366.7 MB, free: 5.051 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.1112, allocations: 28 kB / 366.8 MB, free: 5.023 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.0001036/0.1114, allocations: 115.1 kB / 366.9 MB, free: 4.898 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003063/0.1117, allocations: 111.9 kB / 367 MB, free: 4.789 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1117, allocations: 0 / 367 MB, free: 4.789 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.1118, allocations: 55.91 kB / 367.1 MB, free: 4.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.1122, allocations: 31.17 kB / 367.1 MB, free: 4.707 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009979/0.1132, allocations: 493.5 kB / 367.6 MB, free: 4.191 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.1136, allocations: 0.708 MB / 368.3 MB, free: 3.457 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.694e-05/0.1137, allocations: 16.42 kB / 368.3 MB, free: 3.441 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.1137, allocations: 15.44 kB / 368.3 MB, free: 3.426 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1137, allocations: 0 / 368.3 MB, free: 3.426 MB / 302.1 MB Notification: Performance of Templates: time 0.003807/0.1175, allocations: 1.386 MB / 369.7 MB, free: 2.059 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/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