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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001061/0.001061, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001127/0.001127, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 59.89 kB / 358.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2531, allocations: 50.55 MB / 408.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003712/0.2568, allocations: 1.997 MB / 410.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.2581, allocations: 0.6974 MB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.2582, allocations: 3.938 kB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.2584, allocations: 19.8 kB / 411.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.2585, allocations: 35.64 kB / 411.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.2588, allocations: 51.86 kB / 411.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.259, allocations: 151.3 kB / 411.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.2592, allocations: 37.08 kB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.2593, allocations: 55.78 kB / 411.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.2594, allocations: 59.7 kB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.2594, allocations: 8 kB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.592e-05/0.2595, allocations: 24 kB / 411.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.057e-05/0.2596, allocations: 31.89 kB / 411.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.746e-05/0.2596, allocations: 63.67 kB / 412 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.2599, allocations: 153.2 kB / 412.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2599, allocations: 0 / 412.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.2599, allocations: 4 kB / 412.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.2599, allocations: 3.938 kB / 412.1 MB, free: 14.17 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.0007048/0.2606, allocations: 439 kB / 412.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.2607, allocations: 12.03 kB / 412.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.736e-05/0.2607, allocations: 42.75 kB / 412.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/0.2609, allocations: 32.67 kB / 412.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.2612, allocations: 212 kB / 412.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.2612, allocations: 8.375 kB / 412.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.2613, allocations: 16.12 kB / 412.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.2616, allocations: 113.6 kB / 413 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.2616, allocations: 3.906 kB / 413 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.2616, allocations: 8 kB / 413 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.2616, allocations: 4 kB / 413 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002622/0.2619, allocations: 91.88 kB / 413.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008016/0.2627, allocations: 495.3 kB / 413.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.2631, allocations: 118.5 kB / 413.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.2632, allocations: 48.83 kB / 413.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.2632, allocations: 4 kB / 413.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.2633, allocations: 34.5 kB / 413.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.2633, allocations: 4 kB / 413.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001017/0.2643, allocations: 477.4 kB / 414.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.2643, allocations: 55.41 kB / 414.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.2645, allocations: 132.4 kB / 414.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.2645, allocations: 33.7 kB / 414.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.2646, allocations: 112.2 kB / 414.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.2646, allocations: 43.36 kB / 414.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.2647, allocations: 33.7 kB / 414.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.655e-05/0.2648, allocations: 318.8 kB / 414.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.2649, allocations: 43.97 kB / 415 MB, free: 11.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.265, allocations: 83.34 kB / 415.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.2653, allocations: 123.3 kB / 415.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2653, allocations: 0 / 415.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003414/0.2657, allocations: 169.3 kB / 415.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2657, allocations: 4 kB / 415.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2657, allocations: 7.984 kB / 415.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.2657, allocations: 4.047 kB / 415.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.2659, allocations: 39.91 kB / 415.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.2659, allocations: 4 kB / 415.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.266, allocations: 11.98 kB / 415.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.266, allocations: 4 kB / 415.4 MB, free: 10.55 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.354e-05/0.2661, allocations: 133.8 kB / 415.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.2662, allocations: 15.78 kB / 415.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.85e-05/0.2662, allocations: 24.78 kB / 415.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2663, allocations: 0 / 415.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.2663, allocations: 3.984 kB / 415.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2663, allocations: 0 / 415.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006637/0.2669, allocations: 475.9 kB / 416.1 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.267, allocations: 4 kB / 416.1 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.2672, allocations: 27.98 kB / 416.1 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2672, allocations: 4 kB / 416.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.2672, allocations: 4 kB / 416.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2672, allocations: 4 kB / 416.1 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2672, allocations: 0 / 416.1 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/0.2677, allocations: 309.1 kB / 416.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-05/0.2678, allocations: 85.02 kB / 416.5 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.2678, allocations: 7.938 kB / 416.5 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.2679, allocations: 4 kB / 416.5 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.268, allocations: 11.98 kB / 416.5 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.268, allocations: 8 kB / 416.5 MB, free: 9.332 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.604e-05/0.2681, allocations: 110 kB / 416.6 MB, free: 9.227 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2681, allocations: 0 / 416.6 MB, free: 9.227 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.2684, allocations: 27.94 kB / 416.7 MB, free: 9.199 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.0007145/0.2691, allocations: 0.8355 MB / 417.5 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003181/0.2694, allocations: 115.9 kB / 417.6 MB, free: 8.223 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.2694, allocations: 4.125 kB / 417.6 MB, free: 8.219 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.2696, allocations: 59.84 kB / 417.7 MB, free: 8.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.2699, allocations: 27 kB / 417.7 MB, free: 8.137 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.2723, allocations: 1.985 MB / 419.7 MB, free: 6.043 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.2725, allocations: 0.7119 MB / 420.4 MB, free: 5.305 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.169e-05/0.2726, allocations: 16.64 kB / 420.4 MB, free: 5.289 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.093e-05/0.2727, allocations: 31.44 kB / 420.4 MB, free: 5.258 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2727, allocations: 4 kB / 420.5 MB, free: 5.254 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.303, allocations: 3.051 MB / 423.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.517/7.82, allocations: 8.062 kB / 423.5 MB, free: 2.316 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/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:der(eddyCurrentForce.s),der(heatCapacitor.T),der(mass.s),der(mass.v),eddyCurrentForce.T,eddyCurrentForce.TRef,eddyCurrentForce.TheatPort,eddyCurrentForce.alpha20,eddyCurrentForce.constantExcitation,eddyCurrentForce.excitation,eddyCurrentForce.f,eddyCurrentForce.f_nominal,eddyCurrentForce.flange.f,eddyCurrentForce.flange.s,eddyCurrentForce.heatPort.Q_flow,eddyCurrentForce.heatPort.T,eddyCurrentForce.lossPower,eddyCurrentForce.s,eddyCurrentForce.useExcitationInput,eddyCurrentForce.useHeatPort,eddyCurrentForce.useSupport,eddyCurrentForce.v,eddyCurrentForce.v_nominal,eddyCurrentForce.v_normalized,heatCapacitor.C,heatCapacitor.T,heatCapacitor.der_T,heatCapacitor.port.Q_flow,heatCapacitor.port.T,mass.L,mass.a,mass.flange_a.f,mass.flange_a.s,mass.flange_b.f,mass.flange_b.s,mass.m,mass.s,mass.stateSelect,mass.v,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,time