Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 178.7 kB / 16.71 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 225.7 MB / 243.2 MB, free: 8.461 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007176/0.0007176, allocations: 92.52 kB / 294.4 MB, free: 9.492 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000254/0.0002541, allocations: 8 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1865, allocations: 50.41 MB / 404.6 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.001471/0.188, allocations: 1.461 MB / 406 MB, free: 29.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008132/0.1888, allocations: 0.7511 MB / 406.8 MB, free: 29.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.073e-05/0.1889, allocations: 7.938 kB / 406.8 MB, free: 29.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.189, allocations: 15.84 kB / 406.8 MB, free: 29.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.973e-05/0.1891, allocations: 27.77 kB / 406.8 MB, free: 29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.1893, allocations: 39.89 kB / 406.9 MB, free: 28.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.1895, allocations: 116.2 kB / 407 MB, free: 28.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1896, allocations: 31.14 kB / 407 MB, free: 28.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.217e-05/0.1897, allocations: 43.8 kB / 407.1 MB, free: 28.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.198e-05/0.1897, allocations: 39.84 kB / 407.1 MB, free: 28.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.1898, allocations: 4 kB / 407.1 MB, free: 28.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.801e-05/0.1898, allocations: 20 kB / 407.1 MB, free: 28.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.1899, allocations: 21.09 kB / 407.1 MB, free: 28.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.932e-05/0.1899, allocations: 73.44 kB / 407.2 MB, free: 28.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.1901, allocations: 117.1 kB / 407.3 MB, free: 28.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1901, allocations: 5.219 kB / 407.3 MB, free: 28.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1901, allocations: 4 kB / 407.3 MB, free: 28.49 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1901, allocations: 0 / 407.3 MB, free: 28.49 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.0003812/0.1905, allocations: 398.8 kB / 407.7 MB, free: 28.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.1905, allocations: 12.02 kB / 407.7 MB, free: 28.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.1907, allocations: 24.83 kB / 407.8 MB, free: 28.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.1908, allocations: 192.2 kB / 407.9 MB, free: 27.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.1908, allocations: 5.438 kB / 408 MB, free: 27.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.1909, allocations: 12.38 kB / 408 MB, free: 27.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.191, allocations: 103.7 kB / 408.1 MB, free: 27.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.191, allocations: 0 / 408.1 MB, free: 27.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1911, allocations: 4 kB / 408.1 MB, free: 27.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1911, allocations: 4 kB / 408.1 MB, free: 27.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.1912, allocations: 59.97 kB / 408.1 MB, free: 27.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00051/0.1917, allocations: 455.5 kB / 408.6 MB, free: 27.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.1919, allocations: 102.6 kB / 408.7 MB, free: 26.99 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/0.192, allocations: 32.86 kB / 408.7 MB, free: 26.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.192, allocations: 0 / 408.7 MB, free: 26.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.112e-05/0.192, allocations: 34.5 kB / 408.7 MB, free: 26.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 9.62e-07/0.192, allocations: 0 / 408.7 MB, free: 26.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001082/0.1931, allocations: 0.5389 MB / 409.3 MB, free: 26.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.776e-05/0.1932, allocations: 55.41 kB / 409.3 MB, free: 26.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.988e-05/0.1932, allocations: 126 kB / 409.5 MB, free: 26.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.1932, allocations: 29.64 kB / 409.5 MB, free: 26.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.1933, allocations: 111.7 kB / 409.6 MB, free: 25.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.1933, allocations: 39.36 kB / 409.6 MB, free: 25.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-06/0.1933, allocations: 8 kB / 409.6 MB, free: 25.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.945e-05/0.1934, allocations: 314.8 kB / 410 MB, free: 25.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.47e-05/0.1934, allocations: 27.98 kB / 410 MB, free: 25.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-05/0.1935, allocations: 59.42 kB / 410 MB, free: 25.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.1936, allocations: 95.36 kB / 410.1 MB, free: 25.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1936, allocations: 0 / 410.1 MB, free: 25.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001522/0.1938, allocations: 137.4 kB / 410.3 MB, free: 25.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1938, allocations: 4 kB / 410.3 MB, free: 25.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1938, allocations: 8.062 kB / 410.3 MB, free: 25.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1938, allocations: 0 / 410.3 MB, free: 25.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1939, allocations: 31.98 kB / 410.3 MB, free: 25.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.194, allocations: 0 / 410.3 MB, free: 25.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.405e-05/0.194, allocations: 11.94 kB / 410.3 MB, free: 25.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.194, allocations: 4 kB / 410.3 MB, free: 25.19 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.667e-05/0.1941, allocations: 125.7 kB / 410.4 MB, free: 25.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.1941, allocations: 11.89 kB / 410.5 MB, free: 25.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.498e-05/0.1942, allocations: 16.38 kB / 410.5 MB, free: 25.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1942, allocations: 4 kB / 410.5 MB, free: 25.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1942, allocations: 0 / 410.5 MB, free: 25.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1942, allocations: 3.938 kB / 410.5 MB, free: 25.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.1946, allocations: 424 kB / 410.9 MB, free: 24.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1946, allocations: 0 / 410.9 MB, free: 24.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.1947, allocations: 27.98 kB / 410.9 MB, free: 24.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1947, allocations: 8 kB / 410.9 MB, free: 24.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1948, allocations: 4 kB / 410.9 MB, free: 24.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1948, allocations: 0 / 410.9 MB, free: 24.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1948, allocations: 3.984 kB / 410.9 MB, free: 24.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.195, allocations: 249 kB / 411.2 MB, free: 24.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.986e-05/0.195, allocations: 85.02 kB / 411.3 MB, free: 24.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.195, allocations: 7.938 kB / 411.3 MB, free: 24.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.299e-05/0.1951, allocations: 12.03 kB / 411.3 MB, free: 24.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/0.1951, allocations: 4.094 kB / 411.3 MB, free: 24.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.1952, allocations: 7.938 kB / 411.3 MB, free: 24.1 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.064e-05/0.1952, allocations: 91.27 kB / 411.4 MB, free: 24.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1952, allocations: 0 / 411.4 MB, free: 24.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002161/0.1954, allocations: 24 kB / 411.4 MB, free: 23.98 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.596e-05/0.1955, allocations: 119.1 kB / 411.5 MB, free: 23.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001334/0.1956, allocations: 83.84 kB / 411.6 MB, free: 23.78 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1956, allocations: 0 / 411.6 MB, free: 23.78 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.477e-05/0.1957, allocations: 39.92 kB / 411.6 MB, free: 23.74 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.196, allocations: 23.92 kB / 411.7 MB, free: 23.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006114/0.1966, allocations: 0.5534 MB / 412.2 MB, free: 23.13 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.936e-05/0.1968, allocations: 0.7083 MB / 412.9 MB, free: 22.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.772e-05/0.1968, allocations: 8.875 kB / 412.9 MB, free: 22.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.1969, allocations: 11.44 kB / 412.9 MB, free: 22.37 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.1969, allocations: 0 / 412.9 MB, free: 22.37 MB / 298.7 MB Notification: Performance of Templates: time 0.002639/0.1995, allocations: 1.067 MB / 414 MB, free: 21.32 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (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 & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches