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.001214/0.001214, allocations: 117.2 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.001655/0.001655, allocations: 200.6 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.36/1.36, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 63.89 kB / 358.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2495, allocations: 50.55 MB / 408.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003556/0.2531, allocations: 1.997 MB / 410.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.2542, allocations: 0.6934 MB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.142e-05/0.2543, allocations: 3.938 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.2544, allocations: 23.8 kB / 411.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.804e-05/0.2545, allocations: 39.62 kB / 411.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.2547, allocations: 47.86 kB / 411.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.2549, allocations: 151.3 kB / 411.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.255, allocations: 33.09 kB / 411.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.276e-05/0.2551, allocations: 59.73 kB / 411.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.2553, allocations: 59.75 kB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.2553, allocations: 8 kB / 411.9 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.815e-05/0.2554, allocations: 27.98 kB / 412 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.224e-05/0.2554, allocations: 27.86 kB / 412 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.566e-05/0.2555, allocations: 55.73 kB / 412 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.2557, allocations: 158.3 kB / 412.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2558, allocations: 0 / 412.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.2558, allocations: 4 kB / 412.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.2558, allocations: 0 / 412.2 MB, free: 14.08 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.0007207/0.2565, allocations: 446.7 kB / 412.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.2566, allocations: 12.03 kB / 412.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.944e-05/0.2566, allocations: 46.73 kB / 412.7 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.2568, allocations: 28.83 kB / 412.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.2571, allocations: 196.2 kB / 412.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.2571, allocations: 16.31 kB / 412.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.2571, allocations: 16.12 kB / 412.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.2574, allocations: 113.6 kB / 413 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.2575, allocations: 3.953 kB / 413.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.2575, allocations: 8 kB / 413.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.2575, allocations: 4 kB / 413.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002815/0.2578, allocations: 95.86 kB / 413.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008243/0.2586, allocations: 495.4 kB / 413.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/0.259, allocations: 122.5 kB / 413.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.2591, allocations: 52.88 kB / 413.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.2591, allocations: 4 kB / 413.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.2592, allocations: 34.5 kB / 413.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.2592, allocations: 0 / 413.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001054/0.2602, allocations: 485.7 kB / 414.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.2603, allocations: 55.41 kB / 414.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.2604, allocations: 136.4 kB / 414.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.2604, allocations: 29.7 kB / 414.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.604e-05/0.2605, allocations: 116.2 kB / 414.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.2606, allocations: 51.53 kB / 414.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.2607, allocations: 29.72 kB / 414.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2608, allocations: 322.8 kB / 415 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.2609, allocations: 47.88 kB / 415.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.2611, allocations: 83.33 kB / 415.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.2614, allocations: 119.4 kB / 415.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.2614, allocations: 0 / 415.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003483/0.2618, allocations: 173.4 kB / 415.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.2618, allocations: 4 kB / 415.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.2618, allocations: 4 kB / 415.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2618, allocations: 0 / 415.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.262, allocations: 36.05 kB / 415.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/0.262, allocations: 11.92 kB / 415.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.991e-05/0.2621, allocations: 11.94 kB / 415.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.2621, allocations: 4 kB / 415.5 MB, free: 10.43 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.0001019/0.2622, allocations: 121.8 kB / 415.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.2623, allocations: 15.84 kB / 415.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.2623, allocations: 20.83 kB / 415.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2623, allocations: 0 / 415.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2624, allocations: 4 kB / 415.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.2624, allocations: 0 / 415.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007348/0.2631, allocations: 475.9 kB / 416.2 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2631, allocations: 4 kB / 416.2 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.2633, allocations: 31.97 kB / 416.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2633, allocations: 8.062 kB / 416.2 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.2633, allocations: 0 / 416.2 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.2634, allocations: 4 kB / 416.2 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.2634, allocations: 0 / 416.2 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005278/0.2639, allocations: 309 kB / 416.5 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.198e-05/0.264, allocations: 85.06 kB / 416.6 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.264, allocations: 8 kB / 416.6 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.2641, allocations: 8.031 kB / 416.6 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.2642, allocations: 7.984 kB / 416.6 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.2642, allocations: 8 kB / 416.6 MB, free: 9.227 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.182e-05/0.2643, allocations: 102 kB / 416.7 MB, free: 9.129 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2643, allocations: 0 / 416.7 MB, free: 9.129 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.2645, allocations: 35.94 kB / 416.8 MB, free: 9.094 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.0008341/0.2654, allocations: 0.8511 MB / 417.6 MB, free: 8.215 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003217/0.2657, allocations: 111.9 kB / 417.7 MB, free: 8.105 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2657, allocations: 0 / 417.7 MB, free: 8.105 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.2659, allocations: 55.91 kB / 417.8 MB, free: 8.051 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.2662, allocations: 24.44 kB / 417.8 MB, free: 8.027 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.2687, allocations: 1.98 MB / 419.8 MB, free: 5.938 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.269, allocations: 0.7118 MB / 420.5 MB, free: 5.199 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.032e-05/0.2691, allocations: 8.641 kB / 420.5 MB, free: 5.191 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/0.2692, allocations: 43.36 kB / 420.5 MB, free: 5.148 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2692, allocations: 0 / 420.5 MB, free: 5.148 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.2928, allocations: 3.018 MB / 423.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.469/7.762, allocations: 0 / 423.6 MB, free: 2.254 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.1.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,eddyCurrentForce.lossPower,mass.s,heatCapacitor.T 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