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.001414/0.001414, allocations: 110 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001603/0.001603, allocations: 209.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 59.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.275, allocations: 50.54 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003208/0.2783, allocations: 1.998 MB / 411.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.2794, allocations: 0.7013 MB / 412.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.467e-05/0.2795, allocations: 0 / 412.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.2797, allocations: 19.8 kB / 412.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.938e-05/0.2798, allocations: 39.58 kB / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.2801, allocations: 47.86 kB / 412.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.2803, allocations: 155.3 kB / 412.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.2804, allocations: 29.11 kB / 412.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.909e-05/0.2805, allocations: 59.72 kB / 413 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.2806, allocations: 55.77 kB / 413 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.2806, allocations: 8 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.119e-05/0.2807, allocations: 27.98 kB / 413 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.936e-05/0.2808, allocations: 31.84 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.91e-05/0.2808, allocations: 59.67 kB / 413.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.2811, allocations: 151.4 kB / 413.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.2811, allocations: 8 kB / 413.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2811, allocations: 0 / 413.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.2811, allocations: 0 / 413.3 MB, free: 14.19 MB / 334.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.0006924/0.2818, allocations: 452.1 kB / 413.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2819, allocations: 8.031 kB / 413.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/0.2821, allocations: 32.73 kB / 413.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.2823, allocations: 196.1 kB / 414 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.2824, allocations: 8.375 kB / 414 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.2824, allocations: 12.38 kB / 414 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.2827, allocations: 121.4 kB / 414.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.2827, allocations: 3.906 kB / 414.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.2828, allocations: 7.984 kB / 414.1 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2828, allocations: 4 kB / 414.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.2831, allocations: 103.9 kB / 414.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008013/0.2839, allocations: 487.3 kB / 414.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.2842, allocations: 122.6 kB / 414.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.2844, allocations: 48.81 kB / 414.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.2844, allocations: 4 kB / 414.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.2844, allocations: 34.56 kB / 414.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.2844, allocations: 0 / 414.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.00106/0.2855, allocations: 477.9 kB / 415.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.2855, allocations: 59.34 kB / 415.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.2857, allocations: 136.5 kB / 415.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.2857, allocations: 29.7 kB / 415.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.578e-05/0.2858, allocations: 108.2 kB / 415.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.2859, allocations: 51.34 kB / 415.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/0.2859, allocations: 29.72 kB / 415.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2861, allocations: 326.8 kB / 416.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.2862, allocations: 43.97 kB / 416.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.2863, allocations: 71.39 kB / 416.2 MB, free: 11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.2866, allocations: 126.8 kB / 416.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2866, allocations: 0 / 416.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003332/0.287, allocations: 169.3 kB / 416.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.287, allocations: 8 kB / 416.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.287, allocations: 8 kB / 416.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.287, allocations: 0 / 416.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.2872, allocations: 47.97 kB / 416.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.2872, allocations: 0 / 416.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.046e-05/0.2873, allocations: 7.938 kB / 416.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.2873, allocations: 8 kB / 416.6 MB, free: 10.61 MB / 334.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.0001006/0.2874, allocations: 133.7 kB / 416.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.2875, allocations: 15.83 kB / 416.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.102e-05/0.2875, allocations: 20.84 kB / 416.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2876, allocations: 0 / 416.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2876, allocations: 0 / 416.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2876, allocations: 0 / 416.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006894/0.2883, allocations: 471.9 kB / 417.2 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2883, allocations: 4.062 kB / 417.2 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.2885, allocations: 43.91 kB / 417.2 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2885, allocations: 48 / 417.2 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.2885, allocations: 3.984 kB / 417.2 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.2885, allocations: 4 kB / 417.3 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2885, allocations: 0 / 417.3 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005233/0.289, allocations: 305 kB / 417.6 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.2891, allocations: 89.02 kB / 417.6 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.2891, allocations: 0 / 417.6 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.2893, allocations: 8.031 kB / 417.6 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.2893, allocations: 15.98 kB / 417.7 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.2893, allocations: 0 / 417.7 MB, free: 9.406 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.256e-05/0.2894, allocations: 107.3 kB / 417.8 MB, free: 9.301 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2894, allocations: 0 / 417.8 MB, free: 9.301 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.2897, allocations: 28 kB / 417.8 MB, free: 9.273 MB / 334.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.000123/0.2898, allocations: 103.2 kB / 417.9 MB, free: 9.164 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003215/0.2901, allocations: 119.8 kB / 418 MB, free: 9.047 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2902, allocations: 128 / 418 MB, free: 9.047 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.2903, allocations: 59.91 kB / 418.1 MB, free: 8.988 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.2906, allocations: 26.22 kB / 418.1 MB, free: 8.965 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008301/0.2915, allocations: 0.5006 MB / 418.6 MB, free: 8.426 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.2918, allocations: 0.7158 MB / 419.3 MB, free: 7.684 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.2918, allocations: 15.44 kB / 419.3 MB, free: 7.672 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2918, allocations: 0 / 419.3 MB, free: 7.672 MB / 334.1 MB Notification: Performance of Templates: time 0.003228/0.2951, allocations: 1.694 MB / 421 MB, free: 5.992 MB / 334.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/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.lossPower,heatCapacitor.T,mass.s,time