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.000674/0.000674, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007757/0.0007757, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.194/1.194, allocations: 227.7 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001893/0.0001893, allocations: 4 kB / 307.8 MB, free: 0.6914 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07789/0.0781, allocations: 51.52 MB / 359.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.001934/0.08007, allocations: 1.718 MB / 361.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.0811, allocations: 0.6781 MB / 361.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.553e-05/0.08122, allocations: 0 / 361.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.08133, allocations: 15.86 kB / 361.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.397e-05/0.08143, allocations: 35.69 kB / 361.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.08165, allocations: 47.88 kB / 361.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.08184, allocations: 139.3 kB / 362 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.08196, allocations: 33.06 kB / 362 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.218e-05/0.08205, allocations: 47.8 kB / 362.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.828e-05/0.08215, allocations: 55.7 kB / 362.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.08217, allocations: 8 kB / 362.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.003e-05/0.08226, allocations: 23.98 kB / 362.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.954e-05/0.0823, allocations: 23.84 kB / 362.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.857e-05/0.08238, allocations: 81.44 kB / 362.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.08257, allocations: 143.7 kB / 362.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.08258, allocations: 0 / 362.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.08259, allocations: 0 / 362.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.08259, allocations: 0 / 362.4 MB, free: 10.1 MB / 302.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.0005568/0.08316, allocations: 427.1 kB / 362.8 MB, free: 9.637 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.0832, allocations: 12.03 kB / 362.8 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.568e-05/0.08325, allocations: 46.73 kB / 362.9 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.08342, allocations: 24.83 kB / 362.9 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.08361, allocations: 208 kB / 363.1 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.08363, allocations: 4.375 kB / 363.1 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.08366, allocations: 12.12 kB / 363.1 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.08394, allocations: 126.7 kB / 363.2 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.08396, allocations: 0 / 363.2 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.08398, allocations: 4 kB / 363.2 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.08399, allocations: 4 kB / 363.2 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.08427, allocations: 104.5 kB / 363.3 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007456/0.08502, allocations: 0.4953 MB / 363.8 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003381/0.08537, allocations: 134.4 kB / 364 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.08551, allocations: 48.88 kB / 364 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.08553, allocations: 8 kB / 364 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.08556, allocations: 34.5 kB / 364.1 MB, free: 8.254 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.08557, allocations: 4 kB / 364.1 MB, free: 8.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009931/0.08657, allocations: 497.5 kB / 364.6 MB, free: 7.715 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.08661, allocations: 59.28 kB / 364.6 MB, free: 7.645 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.988e-05/0.08671, allocations: 140.4 kB / 364.7 MB, free: 7.496 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.08674, allocations: 29.69 kB / 364.8 MB, free: 7.461 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.0868, allocations: 116.1 kB / 364.9 MB, free: 7.344 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.08685, allocations: 47.3 kB / 364.9 MB, free: 7.297 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.08688, allocations: 17.72 kB / 365 MB, free: 7.273 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.818e-05/0.08699, allocations: 326.8 kB / 365.3 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.08712, allocations: 47.97 kB / 365.3 MB, free: 6.898 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.08727, allocations: 79.39 kB / 365.4 MB, free: 6.809 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.08755, allocations: 135.3 kB / 365.5 MB, free: 6.664 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.08756, allocations: 0 / 365.5 MB, free: 6.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003405/0.08791, allocations: 181.4 kB / 365.7 MB, free: 6.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.08793, allocations: 10.66 kB / 365.7 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.08794, allocations: 0 / 365.7 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.08796, allocations: 0 / 365.7 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.08813, allocations: 43.92 kB / 365.8 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.08815, allocations: 4 kB / 365.8 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.08825, allocations: 15.89 kB / 365.8 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.08827, allocations: 12.06 kB / 365.8 MB, free: 6.398 MB / 302.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 8.461e-05/0.08836, allocations: 125.7 kB / 365.9 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.0884, allocations: 15.84 kB / 365.9 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.422e-05/0.08845, allocations: 16.83 kB / 365.9 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.08846, allocations: 4 kB / 365.9 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.08847, allocations: 0 / 365.9 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.08847, allocations: 0 / 365.9 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006439/0.08912, allocations: 484 kB / 366.4 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.08914, allocations: 0 / 366.4 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.08933, allocations: 48.03 kB / 366.5 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.08934, allocations: 0 / 366.5 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.08936, allocations: 0 / 366.5 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.08937, allocations: 7.938 kB / 366.5 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.08937, allocations: 0 / 366.5 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004789/0.08986, allocations: 325.8 kB / 366.8 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.08991, allocations: 85.02 kB / 366.9 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.08993, allocations: 4 kB / 366.9 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.09006, allocations: 19.97 kB / 366.9 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.09011, allocations: 11.98 kB / 366.9 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.09013, allocations: 4 kB / 366.9 MB, free: 5.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.786e-05/0.09019, allocations: 105.8 kB / 367 MB, free: 5.059 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.09019, allocations: 0 / 367 MB, free: 5.059 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000248/0.09045, allocations: 35.94 kB / 367.1 MB, free: 5.023 MB / 302.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.0006756/0.09113, allocations: 0.8541 MB / 367.9 MB, free: 4.137 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002944/0.09143, allocations: 123.9 kB / 368 MB, free: 4.016 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.09144, allocations: 128 / 368 MB, free: 4.016 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.09158, allocations: 67.91 kB / 368.1 MB, free: 3.949 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.09191, allocations: 20.2 kB / 368.1 MB, free: 3.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.09404, allocations: 2.123 MB / 370.2 MB, free: 1.691 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.09427, allocations: 0.7083 MB / 370.9 MB, free: 0.957 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.747e-05/0.09435, allocations: 16.42 kB / 371 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.529e-05/0.09442, allocations: 35.42 kB / 371 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.09442, allocations: 0 / 371 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5774/0.6718, allocations: 2.653 MB / 373.6 MB, free: 18.79 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/0.672, allocations: 219.9 kB / 373.9 MB, free: 18.54 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.611, allocations: 0 / 373.9 MB, free: 18.54 MB / 302.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