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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001837/0.001837, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 226.7 MB / 245.5 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009796/0.0009797, allocations: 103.2 kB / 296.7 MB, free: 6.441 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009538/0.0009539, allocations: 51.92 kB / 356.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.213, allocations: 50.45 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002407/0.2155, allocations: 2.059 MB / 409.1 MB, free: 25.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007853/0.2163, allocations: 0.6819 MB / 409.8 MB, free: 25.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.949e-05/0.2164, allocations: 4 kB / 409.8 MB, free: 25.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.2165, allocations: 19.84 kB / 409.8 MB, free: 25.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.297e-05/0.2166, allocations: 33.42 kB / 409.8 MB, free: 25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.2167, allocations: 43.88 kB / 409.9 MB, free: 24.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.2169, allocations: 146.2 kB / 410 MB, free: 24.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.651e-05/0.217, allocations: 25.11 kB / 410 MB, free: 24.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.924e-05/0.217, allocations: 63.7 kB / 410.1 MB, free: 24.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.611e-05/0.2171, allocations: 43.78 kB / 410.2 MB, free: 24.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.2171, allocations: 8 kB / 410.2 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.839e-05/0.2172, allocations: 27.98 kB / 410.2 MB, free: 24.65 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.2172, allocations: 23.86 kB / 410.2 MB, free: 24.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.653e-05/0.2173, allocations: 59.72 kB / 410.3 MB, free: 24.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.2174, allocations: 145 kB / 410.4 MB, free: 24.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2174, allocations: 4 kB / 410.4 MB, free: 24.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2175, allocations: 0 / 410.4 MB, free: 24.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.2175, allocations: 0 / 410.4 MB, free: 24.43 MB / 298.7 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.0004767/0.2179, allocations: 446.9 kB / 410.9 MB, free: 23.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.218, allocations: 8.031 kB / 410.9 MB, free: 23.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.2181, allocations: 32.72 kB / 410.9 MB, free: 23.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.2183, allocations: 206.9 kB / 411.1 MB, free: 23.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-06/0.2183, allocations: 8.375 kB / 411.1 MB, free: 23.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.2183, allocations: 24.2 kB / 411.1 MB, free: 23.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.2186, allocations: 119 kB / 411.2 MB, free: 23.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.2186, allocations: 0 / 411.2 MB, free: 23.51 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.2186, allocations: 8 kB / 411.2 MB, free: 23.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.2186, allocations: 4 kB / 411.3 MB, free: 23.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.2188, allocations: 91.94 kB / 411.3 MB, free: 23.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006108/0.2195, allocations: 495.3 kB / 411.8 MB, free: 22.87 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.2198, allocations: 122.5 kB / 411.9 MB, free: 22.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.2199, allocations: 52.83 kB / 412 MB, free: 22.69 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.2199, allocations: 3.938 kB / 412 MB, free: 22.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.104e-05/0.2199, allocations: 34.56 kB / 412 MB, free: 22.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.2199, allocations: 0 / 412 MB, free: 22.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008365/0.2208, allocations: 475.6 kB / 412.5 MB, free: 22.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.2208, allocations: 59.41 kB / 412.6 MB, free: 22.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.237e-05/0.2209, allocations: 140.5 kB / 412.7 MB, free: 21.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.2209, allocations: 29.7 kB / 412.7 MB, free: 21.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.347e-05/0.2209, allocations: 108.2 kB / 412.8 MB, free: 21.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.221, allocations: 47.36 kB / 412.9 MB, free: 21.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.221, allocations: 29.7 kB / 412.9 MB, free: 21.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.819e-05/0.221, allocations: 322.8 kB / 413.2 MB, free: 21.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.2212, allocations: 47.97 kB / 413.3 MB, free: 21.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.2213, allocations: 75.31 kB / 413.3 MB, free: 21.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.2215, allocations: 119.3 kB / 413.5 MB, free: 21.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2215, allocations: 4 kB / 413.5 MB, free: 21.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002802/0.2218, allocations: 165.4 kB / 413.6 MB, free: 20.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.2218, allocations: 7.938 kB / 413.6 MB, free: 20.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.2218, allocations: 4 kB / 413.6 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2219, allocations: 3.984 kB / 413.6 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.222, allocations: 35.98 kB / 413.7 MB, free: 20.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.222, allocations: 0 / 413.7 MB, free: 20.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.653e-05/0.2221, allocations: 20.05 kB / 413.7 MB, free: 20.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.2222, allocations: 4 kB / 413.7 MB, free: 20.85 MB / 298.7 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 5.602e-05/0.2222, allocations: 129.7 kB / 413.8 MB, free: 20.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.2223, allocations: 15.88 kB / 413.8 MB, free: 20.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.039e-05/0.2223, allocations: 20.84 kB / 413.9 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2223, allocations: 3.984 kB / 413.9 MB, free: 20.67 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2223, allocations: 4 kB / 413.9 MB, free: 20.67 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2223, allocations: 0 / 413.9 MB, free: 20.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005296/0.2229, allocations: 475.9 kB / 414.3 MB, free: 20.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2229, allocations: 0 / 414.3 MB, free: 20.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.2231, allocations: 39.86 kB / 414.4 MB, free: 20.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2231, allocations: 0 / 414.4 MB, free: 20.1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.2231, allocations: 8 kB / 414.4 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2231, allocations: 4.062 kB / 414.4 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2231, allocations: 0 / 414.4 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.2253, allocations: 1.586 MB / 416 MB, free: 18.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/0.2253, allocations: 85.02 kB / 416.1 MB, free: 18.26 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.2253, allocations: 4.031 kB / 416.1 MB, free: 18.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.2254, allocations: 19.91 kB / 416.1 MB, free: 18.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.2255, allocations: 11.92 kB / 416.1 MB, free: 18.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.2255, allocations: 4 kB / 416.1 MB, free: 18.22 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.243e-05/0.2255, allocations: 103.2 kB / 416.2 MB, free: 18.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2256, allocations: 0 / 416.2 MB, free: 18.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003275/0.2259, allocations: 40 kB / 416.2 MB, free: 18.08 MB / 298.7 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 8.021e-05/0.226, allocations: 106.4 kB / 416.3 MB, free: 17.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002733/0.2263, allocations: 119.8 kB / 416.5 MB, free: 17.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2263, allocations: 0 / 416.5 MB, free: 17.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.2264, allocations: 55.91 kB / 416.5 MB, free: 17.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.2268, allocations: 25.84 kB / 416.5 MB, free: 17.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006945/0.2275, allocations: 0.6702 MB / 417.2 MB, free: 17.06 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.2276, allocations: 0.7087 MB / 417.9 MB, free: 16.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.598e-05/0.2277, allocations: 20.58 kB / 417.9 MB, free: 16.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/0.2277, allocations: 15.44 kB / 417.9 MB, free: 16.29 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2277, allocations: 0 / 417.9 MB, free: 16.29 MB / 298.7 MB Notification: Performance of Templates: time 0.003301/0.231, allocations: 1.731 MB / 419.7 MB, free: 14.58 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../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