Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008688/0.0008689, allocations: 176 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.224/1.224, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007748/0.0007746, allocations: 86.3 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002753/0.0002754, allocations: 11.98 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1874, allocations: 47.58 MB / 375.2 MB, free: 45.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.001452/0.1889, allocations: 1.437 MB / 376.6 MB, free: 44.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007154/0.1896, allocations: 0.6436 MB / 377.3 MB, free: 43.65 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.588e-05/0.1897, allocations: 1.281 kB / 377.3 MB, free: 43.65 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.443e-05/0.1898, allocations: 10.39 kB / 377.3 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.432e-05/0.1899, allocations: 38.97 kB / 377.3 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.19, allocations: 36.45 kB / 377.3 MB, free: 43.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.1902, allocations: 112.9 kB / 377.5 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1903, allocations: 23.28 kB / 377.5 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.392e-05/0.1903, allocations: 34.19 kB / 377.5 MB, free: 43.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.896e-05/0.1904, allocations: 35.72 kB / 377.5 MB, free: 43.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.1904, allocations: 4.562 kB / 377.6 MB, free: 43.47 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-05/0.1905, allocations: 23.45 kB / 377.6 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.1905, allocations: 26.28 kB / 377.6 MB, free: 43.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.874e-05/0.1906, allocations: 67.95 kB / 377.7 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.1907, allocations: 96.09 kB / 377.8 MB, free: 43.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1907, allocations: 0 / 377.8 MB, free: 43.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1907, allocations: 0 / 377.8 MB, free: 43.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1907, allocations: 5.219 kB / 377.8 MB, free: 43.32 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.0003725/0.1911, allocations: 392.1 kB / 378.1 MB, free: 42.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1912, allocations: 10.19 kB / 378.2 MB, free: 42.91 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.1912, allocations: 37.19 kB / 378.2 MB, free: 42.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.1914, allocations: 32.25 kB / 378.2 MB, free: 42.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.1915, allocations: 188.5 kB / 378.4 MB, free: 42.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1915, allocations: 9.031 kB / 378.4 MB, free: 42.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.1916, allocations: 18.38 kB / 378.4 MB, free: 42.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.1917, allocations: 87.5 kB / 378.5 MB, free: 42.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1918, allocations: 11.98 kB / 378.5 MB, free: 42.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1918, allocations: 1.188 kB / 378.5 MB, free: 42.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.1918, allocations: 6.266 kB / 378.5 MB, free: 42.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.1919, allocations: 69.5 kB / 378.6 MB, free: 42.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005894/0.1925, allocations: 473.4 kB / 379.1 MB, free: 42.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.1927, allocations: 93.38 kB / 379.2 MB, free: 42 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.1928, allocations: 23.36 kB / 379.2 MB, free: 41.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.1928, allocations: 1.062 kB / 379.2 MB, free: 41.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.327e-05/0.1928, allocations: 40.69 kB / 379.2 MB, free: 41.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.163e-06/0.1928, allocations: 0 / 379.2 MB, free: 41.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002081/0.193, allocations: 94.83 kB / 379.3 MB, free: 41.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.1931, allocations: 60.66 kB / 379.4 MB, free: 41.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.261e-05/0.1931, allocations: 124.5 kB / 379.5 MB, free: 41.69 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.1932, allocations: 26.61 kB / 379.5 MB, free: 41.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.1932, allocations: 108.8 kB / 379.6 MB, free: 41.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.1932, allocations: 27.31 kB / 379.7 MB, free: 41.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.1932, allocations: 1.188 kB / 379.7 MB, free: 41.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.47e-05/0.1933, allocations: 320.3 kB / 380 MB, free: 41.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.115e-05/0.1933, allocations: 23.86 kB / 380 MB, free: 41.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.023e-05/0.1934, allocations: 50.58 kB / 380 MB, free: 41.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.392e-05/0.1935, allocations: 79.22 kB / 380.1 MB, free: 41.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1935, allocations: 0 / 380.1 MB, free: 41.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001387/0.1936, allocations: 110.8 kB / 380.2 MB, free: 41.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1937, allocations: 5.188 kB / 380.2 MB, free: 41.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1937, allocations: 9.062 kB / 380.2 MB, free: 41.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1937, allocations: 6.047 kB / 380.3 MB, free: 41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.1938, allocations: 24.66 kB / 380.3 MB, free: 41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1938, allocations: 1.375 kB / 380.3 MB, free: 41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.846e-05/0.1939, allocations: 11.83 kB / 380.3 MB, free: 40.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1939, allocations: 2.594 kB / 380.3 MB, free: 40.99 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.58e-05/0.194, allocations: 123.7 kB / 380.4 MB, free: 40.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.194, allocations: 7.781 kB / 380.4 MB, free: 40.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.194, allocations: 17.91 kB / 380.4 MB, free: 40.85 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.194, allocations: 5.094 kB / 380.4 MB, free: 40.85 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.194, allocations: 0 / 380.4 MB, free: 40.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.194, allocations: 1.25 kB / 380.4 MB, free: 40.85 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.1942, allocations: 202.8 kB / 380.6 MB, free: 40.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1942, allocations: 0 / 380.6 MB, free: 40.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.1943, allocations: 21.05 kB / 380.7 MB, free: 40.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.1943, allocations: 1.25 kB / 380.7 MB, free: 40.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.1944, allocations: 0 / 380.7 MB, free: 40.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1944, allocations: 5.25 kB / 380.7 MB, free: 40.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1944, allocations: 0 / 380.7 MB, free: 40.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.1946, allocations: 209.3 kB / 380.9 MB, free: 40.44 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.1946, allocations: 82.48 kB / 381 MB, free: 40.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.1946, allocations: 5.297 kB / 381 MB, free: 40.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.1947, allocations: 5.125 kB / 381 MB, free: 40.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.208e-05/0.1947, allocations: 11.19 kB / 381 MB, free: 40.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.1947, allocations: 5.875 kB / 381 MB, free: 40.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.482e-05/0.1948, allocations: 93.95 kB / 381.1 MB, free: 40.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1948, allocations: 4.094 kB / 381.1 MB, free: 40.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002228/0.195, allocations: 31.91 kB / 381.1 MB, free: 40.22 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002939/0.1953, allocations: 0.7358 MB / 381.8 MB, free: 39.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.1954, allocations: 59.16 kB / 381.9 MB, free: 39.49 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1955, allocations: 192 / 381.9 MB, free: 39.49 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.708e-05/0.1955, allocations: 32.42 kB / 381.9 MB, free: 39.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.1958, allocations: 15.09 kB / 381.9 MB, free: 39.47 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.1968, allocations: 0.9236 MB / 382.9 MB, free: 38.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.197, allocations: 0.7025 MB / 383.6 MB, free: 37.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.583e-05/0.197, allocations: 24.75 kB / 383.6 MB, free: 37.96 MB / 298.7 MB Notification: Performance of SimCode: time 3.3e-07/0.1971, allocations: 0 / 383.6 MB, free: 37.96 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.406/2.603, allocations: 1.659 MB / 385.3 MB, free: 37.12 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches