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.001487/0.001487, allocations: 120.9 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001562/0.001562, allocations: 208.3 kB / 18.79 MB, free: 4.102 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.467/1.467, allocations: 230.4 MB / 250 MB, free: 8.98 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.001879/0.001879, allocations: 63.84 kB / 367.3 MB, free: 7.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2878, allocations: 53.3 MB / 420.6 MB, free: 8.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003306/0.2911, allocations: 2.009 MB / 422.6 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.2923, allocations: 0.7091 MB / 423.4 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.651e-05/0.2923, allocations: 4 kB / 423.4 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.2925, allocations: 19.8 kB / 423.4 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.756e-05/0.2925, allocations: 43.56 kB / 423.4 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.2928, allocations: 51.88 kB / 423.5 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.293, allocations: 143.3 kB / 423.6 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.2931, allocations: 29.09 kB / 423.6 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.978e-05/0.2932, allocations: 55.73 kB / 423.7 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.609e-05/0.2933, allocations: 63.77 kB / 423.8 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.2933, allocations: 8 kB / 423.8 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.994e-05/0.2934, allocations: 27.98 kB / 423.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.809e-05/0.2935, allocations: 23.86 kB / 423.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.797e-05/0.2935, allocations: 63.72 kB / 423.9 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.2938, allocations: 147.2 kB / 424 MB, free: 4.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2938, allocations: 0 / 424 MB, free: 4.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2938, allocations: 0 / 424 MB, free: 4.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.2938, allocations: 0 / 424 MB, free: 4.98 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.000697/0.2945, allocations: 454.7 kB / 424.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.2945, allocations: 12.03 kB / 424.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/0.2947, allocations: 28.83 kB / 424.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.295, allocations: 200.2 kB / 424.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.295, allocations: 4.375 kB / 424.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.2951, allocations: 16.36 kB / 424.7 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.2954, allocations: 121.5 kB / 424.8 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.2954, allocations: 3.953 kB / 424.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.2954, allocations: 7.984 kB / 424.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.2954, allocations: 4 kB / 424.9 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002794/0.2957, allocations: 95.81 kB / 425 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009376/0.2966, allocations: 487.4 kB / 425.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.297, allocations: 118.6 kB / 425.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.2971, allocations: 48.77 kB / 425.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.2971, allocations: 7.938 kB / 425.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.2972, allocations: 34.56 kB / 425.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.2972, allocations: 0 / 425.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001061/0.2982, allocations: 485.7 kB / 426.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.2983, allocations: 55.41 kB / 426.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.2984, allocations: 134.2 kB / 426.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.2984, allocations: 29.7 kB / 426.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.435e-05/0.2985, allocations: 112.2 kB / 426.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.2985, allocations: 55.53 kB / 426.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.2986, allocations: 29.7 kB / 426.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2987, allocations: 322.8 kB / 426.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.2989, allocations: 47.97 kB / 426.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.299, allocations: 75.31 kB / 426.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.2993, allocations: 131.3 kB / 427.1 MB, free: 1.633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2993, allocations: 4 kB / 427.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000357/0.2997, allocations: 161.5 kB / 427.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.2997, allocations: 11.94 kB / 427.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2997, allocations: 0 / 427.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.2997, allocations: 4 kB / 427.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.2999, allocations: 35.97 kB / 427.3 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.2999, allocations: 4 kB / 427.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.643e-05/0.3, allocations: 16.05 kB / 427.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.3, allocations: 4 kB / 427.3 MB, free: 1.391 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.000109/0.3001, allocations: 121.8 kB / 427.4 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.3002, allocations: 19.84 kB / 427.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.889e-05/0.3002, allocations: 16.84 kB / 427.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3002, allocations: 4 kB / 427.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3002, allocations: 0 / 427.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3002, allocations: 3.984 kB / 427.5 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007417/0.301, allocations: 468 kB / 427.9 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.301, allocations: 3.984 kB / 427.9 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.3012, allocations: 35.92 kB / 428 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3012, allocations: 0 / 428 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.3012, allocations: 8 kB / 428 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.3012, allocations: 4.062 kB / 428 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3012, allocations: 0 / 428 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005131/0.3017, allocations: 303.9 kB / 428.3 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.3018, allocations: 93.09 kB / 428.4 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.3018, allocations: 8 kB / 428.4 MB, free: 216 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.3019, allocations: 4 kB / 428.4 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.302, allocations: 7.984 kB / 428.4 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.302, allocations: 8 kB / 428.4 MB, free: 196 kB / 334.1 MB Notification: Performance of sorting global known variables: time 7.76e-05/0.3021, allocations: 113.1 kB / 428.5 MB, free: 84 kB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3021, allocations: 0 / 428.5 MB, free: 84 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.000267/0.3023, allocations: 24 kB / 428.5 MB, free: 60 kB / 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.0001505/0.3025, allocations: 111.2 kB / 428.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003671/0.3029, allocations: 115.8 kB / 428.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3029, allocations: 0 / 428.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.303, allocations: 55.91 kB / 428.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.3033, allocations: 22.86 kB / 428.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009605/0.3043, allocations: 498.3 kB / 429.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.3047, allocations: 0.7041 MB / 430 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.319e-05/0.3048, allocations: 20.42 kB / 430 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.3048, allocations: 11.44 kB / 430.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3048, allocations: 0 / 430.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of Templates: time 0.00547/0.3103, allocations: 1.426 MB / 431.5 MB, free: 13.07 MB / 350.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/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