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.001073/0.001073, allocations: 121 kB / 18.42 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001157/0.001158, allocations: 208.5 kB / 19.36 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 59.91 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.105, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002993/0.108, allocations: 2 MB / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009306/0.109, allocations: 0.6935 MB / 361.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.826e-05/0.109, allocations: 7.938 kB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.1092, allocations: 19.78 kB / 361.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.95e-05/0.1093, allocations: 35.64 kB / 361.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.1095, allocations: 59.8 kB / 361.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.1097, allocations: 151.2 kB / 361.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1098, allocations: 41.09 kB / 361.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.234e-05/0.1099, allocations: 47.84 kB / 361.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.431e-05/0.11, allocations: 63.7 kB / 362 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.11, allocations: 12 kB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.97e-05/0.1101, allocations: 27.98 kB / 362 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.1101, allocations: 19.92 kB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.648e-05/0.1102, allocations: 75.59 kB / 362.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.1104, allocations: 143.6 kB / 362.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1104, allocations: 0 / 362.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1104, allocations: 0 / 362.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.1104, 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.0006182/0.111, allocations: 450.9 kB / 362.7 MB, free: 9.457 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.1111, allocations: 8.031 kB / 362.7 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.1113, allocations: 36.72 kB / 362.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.1115, allocations: 204 kB / 363 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1115, allocations: 4.375 kB / 363 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.1116, allocations: 12.38 kB / 363 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.1118, allocations: 122.6 kB / 363.1 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1118, allocations: 4 kB / 363.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.1119, allocations: 4 kB / 363.1 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1119, allocations: 4 kB / 363.1 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.1121, allocations: 95.86 kB / 363.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007417/0.1129, allocations: 483.4 kB / 363.7 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.1132, allocations: 126.5 kB / 363.8 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.1133, allocations: 48.88 kB / 363.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.1134, allocations: 0 / 363.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.1134, allocations: 34.56 kB / 363.9 MB, free: 8.172 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 9.62e-07/0.1134, allocations: 0 / 363.9 MB, free: 8.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009294/0.1143, allocations: 481.9 kB / 364.4 MB, free: 7.648 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.1144, allocations: 51.41 kB / 364.4 MB, free: 7.586 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.1145, allocations: 136.6 kB / 364.5 MB, free: 7.441 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1145, allocations: 25.7 kB / 364.6 MB, free: 7.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.61e-05/0.1146, allocations: 112.2 kB / 364.7 MB, free: 7.297 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.1146, allocations: 59.27 kB / 364.7 MB, free: 7.238 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.723e-05/0.1147, allocations: 33.62 kB / 364.8 MB, free: 7.199 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.761e-05/0.1148, allocations: 322.8 kB / 365.1 MB, free: 6.875 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.1149, allocations: 43.97 kB / 365.1 MB, free: 6.832 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.115, allocations: 75.34 kB / 365.2 MB, free: 6.746 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.1153, allocations: 130.6 kB / 365.3 MB, free: 6.609 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1153, allocations: 4 kB / 365.3 MB, free: 6.605 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003128/0.1156, allocations: 157.5 kB / 365.5 MB, free: 6.445 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1157, allocations: 18.81 kB / 365.5 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1157, allocations: 0 / 365.5 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1157, allocations: 4 kB / 365.5 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.1159, allocations: 35.92 kB / 365.5 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1159, allocations: 0 / 365.5 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.287e-05/0.116, allocations: 19.92 kB / 365.6 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.116, allocations: 4 kB / 365.6 MB, free: 6.367 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 8.823e-05/0.1161, allocations: 122.4 kB / 365.7 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.1161, allocations: 19.84 kB / 365.7 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.936e-05/0.1162, allocations: 16.83 kB / 365.7 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1162, allocations: 7.938 kB / 365.7 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1162, allocations: 0 / 365.7 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1162, allocations: 48 / 365.7 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006361/0.1168, allocations: 483.9 kB / 366.2 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1168, allocations: 0 / 366.2 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.117, allocations: 35.98 kB / 366.2 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1171, allocations: 0 / 366.2 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1171, allocations: 4 kB / 366.2 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1171, allocations: 3.984 kB / 366.2 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1171, allocations: 0 / 366.2 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/0.1175, allocations: 312.9 kB / 366.5 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.1176, allocations: 88.92 kB / 366.6 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.1176, allocations: 4 kB / 366.6 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.1177, allocations: 12.03 kB / 366.6 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.1178, allocations: 7.984 kB / 366.7 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.1178, allocations: 4 kB / 366.7 MB, free: 5.156 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.305e-05/0.1179, allocations: 105.7 kB / 366.8 MB, free: 5.055 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1179, allocations: 0 / 366.8 MB, free: 5.055 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.1181, allocations: 32 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 9.282e-05/0.1182, allocations: 107.1 kB / 366.9 MB, free: 4.906 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002942/0.1185, allocations: 107.9 kB / 367 MB, free: 4.801 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1186, allocations: 4.125 kB / 367 MB, free: 4.797 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.1187, allocations: 59.91 kB / 367.1 MB, free: 4.738 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.119, allocations: 15.98 kB / 367.1 MB, free: 4.723 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007285/0.1198, allocations: 490 kB / 367.6 MB, free: 4.215 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.12, allocations: 0.7118 MB / 368.3 MB, free: 3.477 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.39e-05/0.1201, allocations: 20.42 kB / 368.3 MB, free: 3.457 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.1201, allocations: 15.38 kB / 368.3 MB, free: 3.441 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1202, allocations: 0 / 368.3 MB, free: 3.441 MB / 302.1 MB Notification: Performance of Templates: time 0.003489/0.1236, allocations: 1.379 MB / 369.7 MB, free: 2.078 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 cvode -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