Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 105.5 kB / 16.62 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 189.8 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 52.52 kB / 300.2 MB, free: 6.055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08429/0.08534, allocations: 49.44 MB / 349.7 MB, free: 4.602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002915/0.08828, allocations: 1.844 MB / 351.5 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009653/0.08927, allocations: 0.6232 MB / 352.2 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.08939, allocations: 3.938 kB / 352.2 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.08953, allocations: 15.91 kB / 352.2 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.401e-05/0.08963, allocations: 27.77 kB / 352.2 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.08989, allocations: 43.89 kB / 352.2 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.09007, allocations: 131.3 kB / 352.4 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.09019, allocations: 29.36 kB / 352.4 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.468e-05/0.09026, allocations: 43.86 kB / 352.4 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.419e-05/0.09036, allocations: 39.84 kB / 352.5 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.09039, allocations: 8 kB / 352.5 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.168e-05/0.09048, allocations: 27.98 kB / 352.5 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.09051, allocations: 23.92 kB / 352.5 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.186e-05/0.09056, allocations: 47.73 kB / 352.6 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.09077, allocations: 127.9 kB / 352.7 MB, free: 1.547 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.09079, allocations: 7.938 kB / 352.7 MB, free: 1.539 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.09079, allocations: 0 / 352.7 MB, free: 1.539 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.09081, allocations: 0 / 352.7 MB, free: 1.539 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005743/0.09139, allocations: 407.3 kB / 353.1 MB, free: 1.094 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.09143, allocations: 8.031 kB / 353.1 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.732e-05/0.09149, allocations: 46.69 kB / 353.2 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.09169, allocations: 36.72 kB / 353.2 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.09187, allocations: 184.3 kB / 353.4 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.09189, allocations: 12.5 kB / 353.4 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.09193, allocations: 20.03 kB / 353.4 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.09212, allocations: 90.58 kB / 353.5 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.09214, allocations: 0 / 353.5 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.09216, allocations: 8 kB / 353.5 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.09217, allocations: 3.938 kB / 353.5 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.09231, allocations: 63.91 kB / 353.6 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006583/0.09297, allocations: 443.6 kB / 354 MB, free: 88 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.09326, allocations: 106.7 kB / 354.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.624e-05/0.09333, allocations: 28.86 kB / 354.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.09335, allocations: 4 kB / 354.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.09338, allocations: 42.56 kB / 354.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.09339, allocations: 0 / 354.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001293/0.09468, allocations: 0.5226 MB / 354.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.09473, allocations: 55.41 kB / 354.8 MB, free: 15.22 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.2e-05/0.09483, allocations: 127.5 kB / 354.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.09485, allocations: 25.7 kB / 354.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.09491, allocations: 107.7 kB / 355 MB, free: 14.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.09495, allocations: 39.45 kB / 355.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.09501, allocations: 37.7 kB / 355.1 MB, free: 14.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.09512, allocations: 318.8 kB / 355.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.507e-05/0.09518, allocations: 31.91 kB / 355.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.658e-05/0.09526, allocations: 59.41 kB / 355.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.09539, allocations: 104.2 kB / 355.6 MB, free: 14.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.0954, allocations: 0 / 355.6 MB, free: 14.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002507/0.09566, allocations: 137.4 kB / 355.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.09568, allocations: 4 kB / 355.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.09569, allocations: 7.984 kB / 355.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.0957, allocations: 0 / 355.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.09584, allocations: 27.98 kB / 355.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.09586, allocations: 11.88 kB / 355.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.169e-05/0.09594, allocations: 12.05 kB / 355.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.09595, allocations: 8 kB / 355.8 MB, free: 14.12 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 (17): * Single equations (assignments): 17 * 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.09606, allocations: 121.8 kB / 355.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.0961, allocations: 7.906 kB / 355.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.286e-05/0.09615, allocations: 12.38 kB / 355.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.09616, allocations: 7.844 kB / 355.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.09617, allocations: 3.938 kB / 356 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.09617, allocations: 0 / 356 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005041/0.09668, allocations: 432 kB / 356.4 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.0967, allocations: 0 / 356.4 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.09685, allocations: 27.98 kB / 356.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.09687, allocations: 3.938 kB / 356.4 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.09689, allocations: 8 kB / 356.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.09689, allocations: 3.938 kB / 356.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.0969, allocations: 0 / 356.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.09717, allocations: 245.1 kB / 356.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.09723, allocations: 92.98 kB / 356.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.09726, allocations: 4 kB / 356.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.81e-05/0.09736, allocations: 4 kB / 356.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.171e-05/0.09739, allocations: 11.92 kB / 356.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.0974, allocations: 8 kB / 356.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.982e-05/0.09746, allocations: 98.27 kB / 356.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09746, allocations: 3.938 kB / 356.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.09773, allocations: 28 kB / 356.9 MB, free: 12.91 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 (12): * Single equations (assignments): 12 * 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.0004944/0.09823, allocations: 0.7843 MB / 357.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001715/0.09841, allocations: 79.92 kB / 357.8 MB, free: 12.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.09842, allocations: 0 / 357.8 MB, free: 12.01 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.872e-05/0.09848, allocations: 39.92 kB / 357.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.09885, allocations: 34.48 kB / 357.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.1008, allocations: 1.832 MB / 359.7 MB, free: 10 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.1011, allocations: 0.7078 MB / 360.4 MB, free: 9.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.421e-05/0.1012, allocations: 12.88 kB / 360.4 MB, free: 9.258 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.124e-05/0.1012, allocations: 35.42 kB / 360.4 MB, free: 9.223 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1012, allocations: 0 / 360.4 MB, free: 9.223 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.191/0.2923, allocations: 2.444 MB / 362.9 MB, free: 6.926 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.2925, allocations: 221.8 kB / 363.1 MB, free: 6.664 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.199, allocations: 0 / 363.1 MB, free: 6.664 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches