Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009807/0.0009807, allocations: 197.8 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 229.5 MB / 247.7 MB, free: 6.289 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007347/0.0007349, allocations: 88.48 kB / 299.8 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002376/0.0002377, allocations: 4 kB / 360.6 MB, free: 8.457 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.204, allocations: 51.41 MB / 412 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.001369/0.2054, allocations: 1.474 MB / 413.5 MB, free: 24.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007524/0.2062, allocations: 0.9326 MB / 414.5 MB, free: 23.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.019e-05/0.2063, allocations: 1.25 kB / 414.5 MB, free: 23.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.625e-05/0.2064, allocations: 15.86 kB / 414.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.783e-05/0.2064, allocations: 33.17 kB / 414.5 MB, free: 23.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.2066, allocations: 39.89 kB / 414.5 MB, free: 23.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.2067, allocations: 121 kB / 414.7 MB, free: 23.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.711e-05/0.2068, allocations: 29.38 kB / 414.7 MB, free: 23.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.023e-05/0.2069, allocations: 39.8 kB / 414.7 MB, free: 23.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.131e-05/0.2069, allocations: 51.77 kB / 414.8 MB, free: 23.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.207, allocations: 7.938 kB / 414.8 MB, free: 23.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.886e-05/0.207, allocations: 23.98 kB / 414.8 MB, free: 23.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.2071, allocations: 7.938 kB / 414.8 MB, free: 23.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.2071, allocations: 73.5 kB / 414.9 MB, free: 22.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.2073, allocations: 121.1 kB / 415 MB, free: 22.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2073, allocations: 0 / 415 MB, free: 22.83 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2073, allocations: 0 / 415 MB, free: 22.83 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.2073, allocations: 0 / 415 MB, free: 22.83 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003888/0.2077, allocations: 407.2 kB / 415.4 MB, free: 22.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.2077, allocations: 8.031 kB / 415.4 MB, free: 22.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.2079, allocations: 24.83 kB / 415.4 MB, free: 22.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.208, allocations: 196.1 kB / 415.6 MB, free: 22.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.2081, allocations: 8.562 kB / 415.6 MB, free: 22.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.2081, allocations: 12.38 kB / 415.6 MB, free: 22.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.2082, allocations: 93.53 kB / 415.7 MB, free: 22.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2083, allocations: 4 kB / 415.7 MB, free: 22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.2083, allocations: 4 kB / 415.7 MB, free: 22 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2083, allocations: 4 kB / 415.7 MB, free: 22 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.2084, allocations: 58.59 kB / 415.8 MB, free: 21.94 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.2089, allocations: 459.5 kB / 416.3 MB, free: 21.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.2092, allocations: 102.6 kB / 416.4 MB, free: 21.33 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.381e-05/0.2092, allocations: 24.86 kB / 416.4 MB, free: 21.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.2093, allocations: 7.984 kB / 416.4 MB, free: 21.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.081e-05/0.2093, allocations: 34.5 kB / 416.4 MB, free: 21.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.2093, allocations: 0 / 416.4 MB, free: 21.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001124/0.2104, allocations: 0.5226 MB / 416.9 MB, free: 20.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.773e-05/0.2104, allocations: 59.41 kB / 417 MB, free: 20.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.23e-05/0.2105, allocations: 129.9 kB / 417.1 MB, free: 20.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.2105, allocations: 29.7 kB / 417.2 MB, free: 20.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.195e-05/0.2106, allocations: 99.94 kB / 417.3 MB, free: 20.31 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.2106, allocations: 47.3 kB / 417.3 MB, free: 20.26 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.2106, allocations: 0 / 417.3 MB, free: 20.26 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.514e-05/0.2107, allocations: 318.8 kB / 417.6 MB, free: 19.94 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.523e-05/0.2107, allocations: 35.92 kB / 417.6 MB, free: 19.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.833e-05/0.2108, allocations: 64.66 kB / 417.7 MB, free: 19.83 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.2109, allocations: 88.25 kB / 417.8 MB, free: 19.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.2109, allocations: 0 / 417.8 MB, free: 19.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001532/0.211, allocations: 133.4 kB / 417.9 MB, free: 19.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.2111, allocations: 8.062 kB / 417.9 MB, free: 19.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2111, allocations: 7.938 kB / 417.9 MB, free: 19.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2111, allocations: 0 / 417.9 MB, free: 19.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.2112, allocations: 27.98 kB / 418 MB, free: 19.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2112, allocations: 4 kB / 418 MB, free: 19.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.454e-05/0.2113, allocations: 7.984 kB / 418 MB, free: 19.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.2113, allocations: 15.92 kB / 418 MB, free: 19.53 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 (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 5.629e-05/0.2114, allocations: 129.7 kB / 418.1 MB, free: 19.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.2114, allocations: 7.906 kB / 418.1 MB, free: 19.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.54e-05/0.2115, allocations: 16.38 kB / 418.1 MB, free: 19.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2115, allocations: 4 kB / 418.2 MB, free: 19.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2115, allocations: 0 / 418.2 MB, free: 19.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2115, allocations: 3.938 kB / 418.2 MB, free: 19.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.2119, allocations: 424 kB / 418.6 MB, free: 18.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2119, allocations: 3.984 kB / 418.6 MB, free: 18.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.212, allocations: 28.06 kB / 418.6 MB, free: 18.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.2121, allocations: 3.938 kB / 418.6 MB, free: 18.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.2121, allocations: 11.98 kB / 418.6 MB, free: 18.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2121, allocations: 0 / 418.6 MB, free: 18.83 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2121, allocations: 0 / 418.6 MB, free: 18.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.2123, allocations: 245 kB / 418.9 MB, free: 18.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.2123, allocations: 89.02 kB / 418.9 MB, free: 18.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.2123, allocations: 11.97 kB / 419 MB, free: 18.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.638e-05/0.2124, allocations: 4 kB / 419 MB, free: 18.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.2125, allocations: 4 kB / 419 MB, free: 18.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.2125, allocations: 4 kB / 419 MB, free: 18.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.11e-05/0.2125, allocations: 99.77 kB / 419.1 MB, free: 18.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2125, allocations: 0 / 419.1 MB, free: 18.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002223/0.2127, allocations: 24 kB / 419.1 MB, free: 18.32 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 (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 7.247e-05/0.2128, allocations: 115.2 kB / 419.2 MB, free: 18.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.213, allocations: 71.92 kB / 419.3 MB, free: 18.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.213, allocations: 4 kB / 419.3 MB, free: 18.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.667e-05/0.2131, allocations: 39.95 kB / 419.3 MB, free: 18.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.2134, allocations: 27.92 kB / 419.3 MB, free: 18.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000593/0.214, allocations: 0.5533 MB / 419.9 MB, free: 17.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.2141, allocations: 0.7043 MB / 420.6 MB, free: 16.74 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.957e-05/0.2142, allocations: 16.8 kB / 420.6 MB, free: 16.72 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.2142, allocations: 15.44 kB / 420.6 MB, free: 16.71 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2142, allocations: 0 / 420.6 MB, free: 16.71 MB / 298.7 MB Notification: Performance of Templates: time 0.002799/0.217, allocations: 1.055 MB / 421.7 MB, free: 15.67 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/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) Reference file matches