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.001497/0.001497, allocations: 96.83 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001912/0.001912, allocations: 206.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002158/0.0002158, allocations: 8 kB / 306.6 MB, free: 1.664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09323/0.09346, allocations: 51.49 MB / 358.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.00217/0.09568, allocations: 1.621 MB / 359.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009594/0.09666, allocations: 0.6356 MB / 360.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.938e-05/0.09675, allocations: 4 kB / 360.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.09678, allocations: 7.922 kB / 360.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.0969, allocations: 51.83 kB / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.09712, allocations: 39.94 kB / 360.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.0973, allocations: 107.7 kB / 360.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.09743, allocations: 41.08 kB / 360.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.085e-05/0.09751, allocations: 47.83 kB / 360.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.281e-05/0.0976, allocations: 47.78 kB / 360.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.09762, allocations: 4 kB / 360.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.47e-05/0.0977, allocations: 27.98 kB / 360.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.09773, allocations: 15.92 kB / 360.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.09777, allocations: 45.64 kB / 360.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.09791, allocations: 116 kB / 360.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.09792, allocations: 0 / 360.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09793, allocations: 4 kB / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.09794, allocations: 0 / 360.9 MB, free: 11.34 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.0006421/0.09859, allocations: 429.4 kB / 361.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.09863, allocations: 8.031 kB / 361.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.09881, allocations: 31.89 kB / 361.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.09901, allocations: 194.8 kB / 361.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.09903, allocations: 8 kB / 361.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.09907, allocations: 15.95 kB / 361.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.09936, allocations: 110.7 kB / 361.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.09939, allocations: 11.98 kB / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.09941, allocations: 0 / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.09942, allocations: 4 kB / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.0997, allocations: 107.9 kB / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007582/0.1005, allocations: 499.2 kB / 362.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.1008, allocations: 126.6 kB / 362.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.1008, allocations: 0 / 362.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.1009, allocations: 38.56 kB / 362.4 MB, free: 9.629 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.1009, allocations: 0 / 362.4 MB, free: 9.629 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001033/0.1019, allocations: 0.4975 MB / 362.9 MB, free: 9.082 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.102, allocations: 55.41 kB / 363 MB, free: 9.016 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.1021, allocations: 138.1 kB / 363.1 MB, free: 8.867 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.1021, allocations: 25.7 kB / 363.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.1022, allocations: 108.2 kB / 363.2 MB, free: 8.727 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.1022, allocations: 55.28 kB / 363.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-06/0.1022, allocations: 4 kB / 363.3 MB, free: 8.668 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1023, allocations: 318.8 kB / 363.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.1025, allocations: 51.97 kB / 363.6 MB, free: 8.297 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.1026, allocations: 79.39 kB / 363.7 MB, free: 8.207 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.1028, allocations: 55.98 kB / 363.8 MB, free: 8.152 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1028, allocations: 0 / 363.8 MB, free: 8.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003583/0.1032, allocations: 181.3 kB / 364 MB, free: 7.969 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1032, allocations: 12.06 kB / 364 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1032, allocations: 3.953 kB / 364 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.1032, allocations: 7.984 kB / 364 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.1034, allocations: 36.03 kB / 364 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1034, allocations: 3.984 kB / 364 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.1036, allocations: 23.97 kB / 364 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1036, allocations: 4 kB / 364 MB, free: 7.879 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 0.0001086/0.1037, allocations: 129.8 kB / 364.2 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.1037, allocations: 7.906 kB / 364.2 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.1038, allocations: 16.84 kB / 364.2 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1038, allocations: 7.938 kB / 364.2 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1038, allocations: 0 / 364.2 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1038, allocations: 0 / 364.2 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007189/0.1045, allocations: 484.1 kB / 364.7 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1046, allocations: 0 / 364.7 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.1048, allocations: 43.88 kB / 364.7 MB, free: 7.133 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.1048, allocations: 4.062 kB / 364.7 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1048, allocations: 0 / 364.7 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1048, allocations: 4 kB / 364.7 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1048, allocations: 0 / 364.7 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005337/0.1053, allocations: 351.7 kB / 365.1 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-05/0.1054, allocations: 85.02 kB / 365.2 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.1054, allocations: 8 kB / 365.2 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.1056, allocations: 16.03 kB / 365.2 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.1056, allocations: 11.98 kB / 365.2 MB, free: 6.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.1057, allocations: 7.938 kB / 365.2 MB, free: 6.605 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.025e-05/0.1057, allocations: 101.8 kB / 365.3 MB, free: 6.508 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1057, allocations: 0 / 365.3 MB, free: 6.508 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.106, allocations: 31.95 kB / 365.3 MB, free: 6.477 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.0001107/0.1061, allocations: 99.25 kB / 365.4 MB, free: 6.367 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000329/0.1065, allocations: 123.8 kB / 365.5 MB, free: 6.246 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1065, allocations: 0 / 365.5 MB, free: 6.246 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.1066, allocations: 68.16 kB / 365.6 MB, free: 6.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.1069, allocations: 18.86 kB / 365.6 MB, free: 6.164 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007942/0.1077, allocations: 0.5905 MB / 366.2 MB, free: 5.539 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.108, allocations: 0.716 MB / 366.9 MB, free: 4.797 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.87e-05/0.1081, allocations: 20.56 kB / 367 MB, free: 4.777 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.1081, allocations: 15.44 kB / 367 MB, free: 4.766 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1081, allocations: 0 / 367 MB, free: 4.766 MB / 302.1 MB Notification: Performance of Templates: time 0.003596/0.1117, allocations: 1.213 MB / 368.2 MB, free: 3.566 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","../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