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.001449/0.001449, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001948/0.001949, allocations: 203.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 59.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2628, allocations: 50.55 MB / 409.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003074/0.2659, allocations: 2.001 MB / 411.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.267, allocations: 0.6897 MB / 411.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.793e-05/0.2671, allocations: 11.94 kB / 411.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.2673, allocations: 23.78 kB / 412 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.058e-05/0.2673, allocations: 35.64 kB / 412 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.2676, allocations: 51.86 kB / 412 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.2678, allocations: 143.3 kB / 412.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.268, allocations: 37.09 kB / 412.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.027e-05/0.2681, allocations: 59.72 kB / 412.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.908e-05/0.2682, allocations: 51.78 kB / 412.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.2682, allocations: 8 kB / 412.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.241e-05/0.2683, allocations: 27.98 kB / 412.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.819e-05/0.2683, allocations: 31.84 kB / 412.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.413e-05/0.2684, allocations: 59.73 kB / 412.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.2686, allocations: 155.2 kB / 412.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2687, allocations: 0 / 412.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2687, allocations: 0 / 412.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.2687, 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.0007012/0.2694, allocations: 450.7 kB / 413 MB, free: 13.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2694, allocations: 8.031 kB / 413.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002092/0.2697, allocations: 32.83 kB / 413.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.2699, allocations: 208.1 kB / 413.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.2699, allocations: 12.38 kB / 413.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.27, allocations: 12.38 kB / 413.3 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.2702, allocations: 117.5 kB / 413.4 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.2703, allocations: 3.953 kB / 413.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.2703, allocations: 8 kB / 413.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.2703, allocations: 0 / 413.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/0.2706, allocations: 95.88 kB / 413.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008254/0.2714, allocations: 0.4916 MB / 414 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.2718, allocations: 118.5 kB / 414.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.2719, allocations: 52.83 kB / 414.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.2719, allocations: 0 / 414.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.272, allocations: 30.56 kB / 414.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.272, allocations: 0 / 414.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001003/0.273, allocations: 489.7 kB / 414.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.273, allocations: 59.34 kB / 414.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.2731, allocations: 132.4 kB / 414.9 MB, free: 11.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.2732, allocations: 29.7 kB / 414.9 MB, free: 11.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.2732, allocations: 112.2 kB / 415 MB, free: 11.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.2733, allocations: 55.53 kB / 415.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.2733, allocations: 29.7 kB / 415.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2734, allocations: 330.8 kB / 415.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.2736, allocations: 39.97 kB / 415.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.2737, allocations: 79.25 kB / 415.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.274, allocations: 119.4 kB / 415.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.274, allocations: 0 / 415.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003151/0.2743, allocations: 165.5 kB / 415.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.2743, allocations: 15.92 kB / 415.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2743, allocations: 0 / 415.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2744, allocations: 0 / 415.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.2745, allocations: 40.05 kB / 415.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.2746, allocations: 7.938 kB / 415.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.991e-05/0.2747, allocations: 11.98 kB / 415.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.2747, allocations: 4 kB / 415.9 MB, free: 10.59 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.026e-05/0.2748, allocations: 117.8 kB / 416 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.2748, allocations: 15.84 kB / 416 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.787e-05/0.2749, allocations: 20.84 kB / 416.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.2749, allocations: 11.95 kB / 416.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2749, allocations: 0 / 416.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2749, allocations: 8 kB / 416.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006714/0.2756, allocations: 471.9 kB / 416.5 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2756, allocations: 0 / 416.5 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.2758, allocations: 31.98 kB / 416.6 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.2758, allocations: 4.062 kB / 416.6 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.2758, allocations: 8 kB / 416.6 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2758, allocations: 0 / 416.6 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2758, allocations: 0 / 416.6 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004866/0.2763, allocations: 309 kB / 416.9 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.2764, allocations: 85.06 kB / 417 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.2764, allocations: 8 kB / 417 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.2765, allocations: 8.031 kB / 417 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.2766, allocations: 12 kB / 417 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.2766, allocations: 4 kB / 417 MB, free: 9.387 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.703e-05/0.2767, allocations: 106 kB / 417.1 MB, free: 9.285 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2767, allocations: 0 / 417.1 MB, free: 9.285 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.2769, allocations: 28 kB / 417.1 MB, free: 9.258 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.0001086/0.277, allocations: 107.1 kB / 417.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000364/0.2774, allocations: 123.4 kB / 417.4 MB, free: 9.027 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2774, allocations: 0 / 417.4 MB, free: 9.027 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.2776, allocations: 55.91 kB / 417.4 MB, free: 8.973 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.2779, allocations: 28.23 kB / 417.4 MB, free: 8.945 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000834/0.2788, allocations: 485.2 kB / 417.9 MB, free: 8.438 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.2791, allocations: 0.7119 MB / 418.6 MB, free: 7.699 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.105e-05/0.2792, allocations: 12.42 kB / 418.6 MB, free: 7.688 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.2792, allocations: 19.38 kB / 418.7 MB, free: 7.672 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2792, allocations: 4 kB / 418.7 MB, free: 7.668 MB / 334.1 MB Notification: Performance of Templates: time 0.00405/0.2833, allocations: 1.4 MB / 420.1 MB, free: 6.285 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