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.001375/0.001375, allocations: 114 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 246.4 MB, free: 10.71 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 59.92 kB / 306.4 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08944/0.09071, allocations: 50.53 MB / 357 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003586/0.09433, allocations: 2.045 MB / 359 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.09548, allocations: 0.6896 MB / 359.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.09561, allocations: 7.938 kB / 359.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.09575, allocations: 15.92 kB / 359.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.049e-05/0.09585, allocations: 35.69 kB / 359.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.09609, allocations: 39.89 kB / 359.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.09629, allocations: 155.3 kB / 360 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.09642, allocations: 45 kB / 360 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.462e-05/0.09651, allocations: 55.8 kB / 360.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.066e-05/0.09661, allocations: 55.77 kB / 360.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.09664, allocations: 8 kB / 360.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-05/0.09673, allocations: 35.92 kB / 360.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.09677, allocations: 23.91 kB / 360.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.124e-05/0.09683, allocations: 63.67 kB / 360.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.09704, allocations: 143.8 kB / 360.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.09705, allocations: 0 / 360.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.09706, allocations: 4 kB / 360.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.09707, allocations: 0 / 360.4 MB, free: 10.97 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.0006464/0.09772, allocations: 439 kB / 360.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.09777, allocations: 12.03 kB / 360.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.09797, allocations: 28.73 kB / 360.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.09819, allocations: 210.5 kB / 361.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.09821, allocations: 8.375 kB / 361.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.09825, allocations: 16.38 kB / 361.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.09853, allocations: 114.7 kB / 361.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.09856, allocations: 0 / 361.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.09858, allocations: 4 kB / 361.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.09859, allocations: 4 kB / 361.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.09888, allocations: 99.86 kB / 361.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008108/0.0997, allocations: 487.3 kB / 361.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.1, allocations: 126.5 kB / 361.9 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.1002, allocations: 48.88 kB / 361.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.1002, allocations: 4 kB / 361.9 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.1002, allocations: 30.56 kB / 362 MB, free: 9.203 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.1002, allocations: 0 / 362 MB, free: 9.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001035/0.1013, allocations: 489.4 kB / 362.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.1013, allocations: 59.39 kB / 362.5 MB, free: 8.605 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.845e-05/0.1014, allocations: 130.2 kB / 362.6 MB, free: 8.469 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.1015, allocations: 33.7 kB / 362.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.1015, allocations: 108.2 kB / 362.8 MB, free: 8.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.1016, allocations: 47.3 kB / 362.8 MB, free: 8.273 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-05/0.1017, allocations: 33.62 kB / 362.9 MB, free: 8.234 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1018, allocations: 326.8 kB / 363.2 MB, free: 7.906 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.1019, allocations: 43.97 kB / 363.2 MB, free: 7.863 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.1021, allocations: 79.33 kB / 363.3 MB, free: 7.773 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.1023, allocations: 119.4 kB / 363.4 MB, free: 7.645 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1023, allocations: 7.875 kB / 363.4 MB, free: 7.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003429/0.1027, allocations: 161.5 kB / 363.6 MB, free: 7.473 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1027, allocations: 7.938 kB / 363.6 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1027, allocations: 4 kB / 363.6 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1027, allocations: 4.062 kB / 363.6 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.1029, allocations: 39.97 kB / 363.6 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.103, allocations: 3.938 kB / 363.6 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.1031, allocations: 8 kB / 363.6 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.1031, allocations: 11.98 kB / 363.7 MB, free: 7.395 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 9.549e-05/0.1032, allocations: 126.4 kB / 363.8 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.1033, allocations: 15.75 kB / 363.8 MB, free: 7.246 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.911e-05/0.1033, allocations: 20.84 kB / 363.8 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1033, allocations: 4 kB / 363.8 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1033, allocations: 0 / 363.8 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1033, allocations: 4 kB / 363.8 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006662/0.104, allocations: 475.9 kB / 364.3 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.104, allocations: 4.062 kB / 364.3 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.1042, allocations: 35.97 kB / 364.3 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1042, allocations: 0 / 364.3 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.1043, allocations: 8 kB / 364.3 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1043, allocations: 0 / 364.3 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1043, allocations: 0 / 364.3 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004834/0.1048, allocations: 308.9 kB / 364.6 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.1048, allocations: 85.02 kB / 364.7 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.1049, allocations: 8.031 kB / 364.7 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.105, allocations: 8 kB / 364.7 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.105, allocations: 11.98 kB / 364.7 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.1051, allocations: 4 kB / 364.7 MB, free: 6.188 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.543e-05/0.1051, allocations: 105.5 kB / 364.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1051, allocations: 0 / 364.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1054, allocations: 32 kB / 364.9 MB, free: 6.055 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.0001028/0.1055, allocations: 111.1 kB / 365 MB, free: 5.934 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003143/0.1058, allocations: 119.1 kB / 365.1 MB, free: 5.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1058, allocations: 0 / 365.1 MB, free: 5.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.106, allocations: 64.03 kB / 365.2 MB, free: 5.758 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.1063, allocations: 21.08 kB / 365.2 MB, free: 5.738 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008081/0.1072, allocations: 0.5367 MB / 365.7 MB, free: 5.168 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.1074, allocations: 0.7041 MB / 366.4 MB, free: 4.438 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.941e-05/0.1075, allocations: 12.64 kB / 366.4 MB, free: 4.426 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.1076, allocations: 15.44 kB / 366.5 MB, free: 4.41 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1076, allocations: 0 / 366.5 MB, free: 4.41 MB / 302.1 MB Notification: Performance of Templates: time 0.003557/0.1111, allocations: 1.328 MB / 367.8 MB, free: 3.105 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