Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001676/0.001676, allocations: 118.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00198/0.00198, allocations: 215.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.466/1.466, allocations: 227.7 MB / 247.9 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 59.89 kB / 359.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2525, allocations: 50.55 MB / 410.2 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003296/0.2558, allocations: 2.008 MB / 412.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.257, allocations: 0.6935 MB / 412.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.201e-05/0.2571, allocations: 4 kB / 412.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.2572, allocations: 15.8 kB / 412.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.2573, allocations: 47.62 kB / 413 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.2576, allocations: 51.81 kB / 413 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.2578, allocations: 155.3 kB / 413.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.258, allocations: 21.11 kB / 413.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.502e-05/0.2581, allocations: 55.73 kB / 413.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.2582, allocations: 55.77 kB / 413.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.2582, allocations: 8 kB / 413.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.374e-05/0.2583, allocations: 31.97 kB / 413.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.41e-05/0.2583, allocations: 27.86 kB / 413.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.64e-05/0.2584, allocations: 59.73 kB / 413.4 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.2587, allocations: 155.2 kB / 413.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2587, allocations: 0 / 413.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2587, allocations: 4 kB / 413.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.2587, allocations: 3.938 kB / 413.6 MB, free: 14.03 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.0008068/0.2595, allocations: 442.8 kB / 414 MB, free: 13.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.2595, allocations: 8.031 kB / 414 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.2598, allocations: 32.83 kB / 414 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.2601, allocations: 200.2 kB / 414.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.2601, allocations: 8.375 kB / 414.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/0.2601, allocations: 16.36 kB / 414.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.2604, allocations: 113.6 kB / 414.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.2605, allocations: 3.953 kB / 414.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.2605, allocations: 11.98 kB / 414.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2605, allocations: 0 / 414.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.2608, allocations: 103.8 kB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000896/0.2617, allocations: 491.4 kB / 415 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.2621, allocations: 118.6 kB / 415.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.2622, allocations: 40.83 kB / 415.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.2622, allocations: 8 kB / 415.1 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.2622, allocations: 30.56 kB / 415.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.2622, allocations: 0 / 415.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001095/0.2633, allocations: 486.1 kB / 415.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.2634, allocations: 55.34 kB / 415.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.2635, allocations: 134.2 kB / 415.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.2635, allocations: 25.7 kB / 415.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.213e-05/0.2636, allocations: 120.2 kB / 416 MB, free: 11.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.2637, allocations: 51.52 kB / 416 MB, free: 11.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.548e-05/0.2637, allocations: 41.7 kB / 416.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2639, allocations: 318.8 kB / 416.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.264, allocations: 43.97 kB / 416.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.2642, allocations: 78.59 kB / 416.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.2645, allocations: 131.2 kB / 416.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2645, allocations: 0 / 416.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003688/0.2649, allocations: 161.5 kB / 416.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/0.2649, allocations: 7.938 kB / 416.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2649, allocations: 4 kB / 416.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.2649, allocations: 4.062 kB / 416.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.2651, allocations: 39.91 kB / 416.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2651, allocations: 4 kB / 416.8 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.701e-05/0.2652, allocations: 7.984 kB / 416.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.2652, allocations: 8 kB / 416.9 MB, free: 10.46 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.0001277/0.2654, allocations: 129.7 kB / 417 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.2654, allocations: 15.84 kB / 417 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.819e-05/0.2655, allocations: 20.78 kB / 417 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.2655, allocations: 4 kB / 417 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2655, allocations: 0 / 417 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.2655, allocations: 3.984 kB / 417 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007372/0.2662, allocations: 472 kB / 417.5 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.2662, allocations: 7.984 kB / 417.5 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.2664, allocations: 36.05 kB / 417.5 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.2664, allocations: 4 kB / 417.5 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.2664, allocations: 3.938 kB / 417.5 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.2664, allocations: 4 kB / 417.5 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2664, allocations: 0 / 417.5 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005348/0.267, allocations: 305 kB / 417.8 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.267, allocations: 89.09 kB / 417.9 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.267, allocations: 0 / 417.9 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.2672, allocations: 8 kB / 417.9 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.2672, allocations: 7.984 kB / 417.9 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.2672, allocations: 7.938 kB / 417.9 MB, free: 9.246 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.718e-05/0.2673, allocations: 113.8 kB / 418.1 MB, free: 9.137 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2673, allocations: 0 / 418.1 MB, free: 9.137 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.2676, allocations: 28 kB / 418.1 MB, free: 9.109 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.0001172/0.2677, allocations: 103.2 kB / 418.2 MB, free: 9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003305/0.268, allocations: 111.8 kB / 418.3 MB, free: 8.891 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.268, allocations: 0 / 418.3 MB, free: 8.891 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.2682, allocations: 60.03 kB / 418.4 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.2685, allocations: 21.08 kB / 418.4 MB, free: 8.812 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009015/0.2694, allocations: 493.2 kB / 418.9 MB, free: 8.297 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.2698, allocations: 0.7119 MB / 419.6 MB, free: 7.559 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.053e-05/0.2699, allocations: 16.42 kB / 419.6 MB, free: 7.543 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.2699, allocations: 15.44 kB / 419.6 MB, free: 7.531 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2699, allocations: 0 / 419.6 MB, free: 7.531 MB / 334.1 MB Notification: Performance of Templates: time 0.004532/0.2744, allocations: 1.409 MB / 421 MB, free: 6.137 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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