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.001158/0.001158, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001307/0.001307, allocations: 203.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 59.91 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2754, allocations: 50.54 MB / 409.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002896/0.2784, allocations: 2.01 MB / 411.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.2794, allocations: 0.6897 MB / 411.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.66e-05/0.2795, allocations: 0 / 411.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.2796, allocations: 23.8 kB / 411.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.056e-05/0.2797, allocations: 43.56 kB / 412 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.2799, allocations: 51.88 kB / 412 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.2801, allocations: 147.3 kB / 412.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.2802, allocations: 29.11 kB / 412.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.451e-05/0.2803, allocations: 59.72 kB / 412.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.621e-05/0.2804, allocations: 59.77 kB / 412.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.2804, allocations: 8 kB / 412.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.751e-05/0.2805, allocations: 27.98 kB / 412.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.491e-05/0.2806, allocations: 23.86 kB / 412.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.349e-05/0.2806, allocations: 63.73 kB / 412.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.2808, allocations: 151.3 kB / 412.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2809, allocations: 8 kB / 412.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2809, allocations: 0 / 412.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.2809, allocations: 0 / 412.6 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.0006327/0.2815, allocations: 444.2 kB / 413 MB, free: 13.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.2815, allocations: 12.03 kB / 413.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.2817, allocations: 28.73 kB / 413.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.282, allocations: 204.1 kB / 413.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.282, allocations: 8.375 kB / 413.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.282, allocations: 8.375 kB / 413.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.2823, allocations: 125.4 kB / 413.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.2823, allocations: 3.906 kB / 413.4 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.2823, allocations: 19.92 kB / 413.4 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.2824, allocations: 0 / 413.4 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002522/0.2826, allocations: 99.8 kB / 413.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007737/0.2834, allocations: 491.3 kB / 414 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.2837, allocations: 126.6 kB / 414.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.2839, allocations: 48.78 kB / 414.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.2839, allocations: 0 / 414.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.2839, allocations: 34.55 kB / 414.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 9.52e-07/0.2839, allocations: 0 / 414.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009291/0.2849, allocations: 481.9 kB / 414.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.2849, allocations: 55.41 kB / 414.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.285, allocations: 136.4 kB / 414.9 MB, free: 11.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.285, allocations: 25.7 kB / 414.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.2851, allocations: 116.2 kB / 415 MB, free: 11.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.2851, allocations: 43.36 kB / 415.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/0.2852, allocations: 33.7 kB / 415.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.2853, allocations: 322.8 kB / 415.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.2854, allocations: 43.97 kB / 415.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.2856, allocations: 78.53 kB / 415.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.2858, allocations: 123 kB / 415.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2858, allocations: 0 / 415.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003248/0.2862, allocations: 173.3 kB / 415.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2862, allocations: 7.938 kB / 415.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2862, allocations: 4 kB / 415.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2862, allocations: 0 / 415.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.2864, allocations: 39.97 kB / 415.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.2864, allocations: 0 / 415.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.184e-05/0.2865, allocations: 11.98 kB / 415.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.2865, allocations: 4 kB / 415.9 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 9.396e-05/0.2866, allocations: 137.7 kB / 416 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.2867, allocations: 11.84 kB / 416 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.879e-05/0.2867, allocations: 16.84 kB / 416 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2867, allocations: 0 / 416 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2867, allocations: 0 / 416 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2868, allocations: 0 / 416 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006419/0.2874, allocations: 484.7 kB / 416.5 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2874, allocations: 0 / 416.5 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.2876, allocations: 39.91 kB / 416.6 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.2876, allocations: 4.031 kB / 416.6 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.2876, allocations: 4 kB / 416.6 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2876, allocations: 3.938 kB / 416.6 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.2877, allocations: 0 / 416.6 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.2881, allocations: 309 kB / 416.9 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.2882, allocations: 85.02 kB / 417 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.2882, allocations: 4.031 kB / 417 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.2883, allocations: 8 kB / 417 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.2884, allocations: 15.98 kB / 417 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.2884, allocations: 4 kB / 417 MB, free: 9.395 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.774e-05/0.2884, allocations: 107.2 kB / 417.1 MB, free: 9.289 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2885, allocations: 0 / 417.1 MB, free: 9.289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.2887, allocations: 28 kB / 417.1 MB, free: 9.262 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.0001013/0.2888, allocations: 107.1 kB / 417.2 MB, free: 9.148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003062/0.2891, allocations: 119.9 kB / 417.3 MB, free: 9.031 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2891, allocations: 0 / 417.3 MB, free: 9.031 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.2893, allocations: 56.02 kB / 417.4 MB, free: 8.977 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.2896, allocations: 24.14 kB / 417.4 MB, free: 8.953 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007546/0.2904, allocations: 477.9 kB / 417.9 MB, free: 8.453 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.2906, allocations: 0.7119 MB / 418.6 MB, free: 7.715 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.202e-05/0.2907, allocations: 16.42 kB / 418.6 MB, free: 7.699 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.2908, allocations: 15.44 kB / 418.6 MB, free: 7.688 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2908, allocations: 0 / 418.6 MB, free: 7.688 MB / 334.1 MB Notification: Performance of Templates: time 0.003762/0.2945, allocations: 1.401 MB / 420 MB, free: 6.305 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/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