Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009454/0.0009455, allocations: 199.9 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.196/1.196, allocations: 226.5 MB / 244.7 MB, free: 8.121 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007096/0.0007097, allocations: 102.7 kB / 296.7 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002383/0.0002384, allocations: 8 kB / 356.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1822, allocations: 51.3 MB / 408.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.001343/0.1836, allocations: 1.478 MB / 409.6 MB, free: 26.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006868/0.1843, allocations: 0.6172 MB / 410.2 MB, free: 25.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.929e-05/0.1844, allocations: 0 / 410.2 MB, free: 25.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.927e-05/0.1845, allocations: 15.86 kB / 410.2 MB, free: 25.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.93e-05/0.1846, allocations: 31.77 kB / 410.3 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.1847, allocations: 36.42 kB / 410.3 MB, free: 25.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.1848, allocations: 116.7 kB / 410.4 MB, free: 25.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.69e-05/0.185, allocations: 37.22 kB / 410.5 MB, free: 25.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.943e-05/0.185, allocations: 36.45 kB / 410.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.731e-05/0.1851, allocations: 44.28 kB / 410.5 MB, free: 25.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1851, allocations: 4 kB / 410.5 MB, free: 25.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.619e-05/0.1852, allocations: 28.72 kB / 410.6 MB, free: 25.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.1852, allocations: 7.938 kB / 410.6 MB, free: 25.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.528e-05/0.1852, allocations: 76.34 kB / 410.7 MB, free: 25.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.1854, allocations: 93.03 kB / 410.7 MB, free: 25.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1854, allocations: 0 / 410.7 MB, free: 25.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1854, allocations: 0 / 410.7 MB, free: 25.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1854, allocations: 0 / 410.7 MB, free: 25.07 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.0003795/0.1858, allocations: 394.4 kB / 411.1 MB, free: 24.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1858, allocations: 8.031 kB / 411.1 MB, free: 24.64 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.32e-05/0.1859, allocations: 42.73 kB / 411.2 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.186, allocations: 28.77 kB / 411.2 MB, free: 24.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.1861, allocations: 192.1 kB / 411.4 MB, free: 24.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1862, allocations: 8.562 kB / 411.4 MB, free: 24.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.1862, allocations: 20.12 kB / 411.4 MB, free: 24.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1863, allocations: 88.47 kB / 411.5 MB, free: 24.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1864, allocations: 4 kB / 411.5 MB, free: 24.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1864, allocations: 4 kB / 411.5 MB, free: 24.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1864, allocations: 0 / 411.5 MB, free: 24.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.1865, allocations: 67.84 kB / 411.6 MB, free: 24.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.187, allocations: 447.7 kB / 412 MB, free: 23.65 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.1872, allocations: 105.7 kB / 412.1 MB, free: 23.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.398e-05/0.1873, allocations: 32.86 kB / 412.2 MB, free: 23.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.1873, allocations: 0 / 412.2 MB, free: 23.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.282e-05/0.1873, allocations: 38.55 kB / 412.2 MB, free: 23.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 9.01e-07/0.1873, allocations: 0 / 412.2 MB, free: 23.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001071/0.1884, allocations: 0.5266 MB / 412.7 MB, free: 22.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.719e-05/0.1884, allocations: 55.34 kB / 412.8 MB, free: 22.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.617e-05/0.1885, allocations: 129.9 kB / 412.9 MB, free: 22.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.1885, allocations: 25.7 kB / 412.9 MB, free: 22.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.1885, allocations: 103.9 kB / 413 MB, free: 22.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.1886, allocations: 47.3 kB / 413.1 MB, free: 22.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.1886, allocations: 7.938 kB / 413.1 MB, free: 22.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.672e-05/0.1886, allocations: 318.8 kB / 413.4 MB, free: 22.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.276e-05/0.1887, allocations: 27.98 kB / 413.4 MB, free: 22.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.346e-05/0.1887, allocations: 59.41 kB / 413.5 MB, free: 22.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.1888, allocations: 93.61 kB / 413.6 MB, free: 21.94 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1888, allocations: 4 kB / 413.6 MB, free: 21.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001498/0.189, allocations: 129.5 kB / 413.7 MB, free: 21.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.189, allocations: 8 kB / 413.7 MB, free: 21.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.189, allocations: 4 kB / 413.7 MB, free: 21.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.189, allocations: 48 / 413.7 MB, free: 21.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1892, allocations: 39.91 kB / 413.7 MB, free: 21.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1892, allocations: 7.875 kB / 413.8 MB, free: 21.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.814e-05/0.1892, allocations: 4 kB / 413.8 MB, free: 21.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.1892, allocations: 8 kB / 413.8 MB, free: 21.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.644e-05/0.1893, allocations: 129.8 kB / 413.9 MB, free: 21.6 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.1893, allocations: 11.91 kB / 413.9 MB, free: 21.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.1894, allocations: 16.38 kB / 413.9 MB, free: 21.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1894, allocations: 0 / 413.9 MB, free: 21.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1894, allocations: 3.938 kB / 413.9 MB, free: 21.56 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1894, allocations: 0 / 413.9 MB, free: 21.56 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.1898, allocations: 428 kB / 414.3 MB, free: 21.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.1898, allocations: 3.984 kB / 414.3 MB, free: 21.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.1899, allocations: 24 kB / 414.4 MB, free: 21.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1899, allocations: 3.938 kB / 414.4 MB, free: 21.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.1899, allocations: 7.984 kB / 414.4 MB, free: 21.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.19, allocations: 0 / 414.4 MB, free: 21.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.19, allocations: 0 / 414.4 MB, free: 21.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.1902, allocations: 253.1 kB / 414.6 MB, free: 20.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.1902, allocations: 88.95 kB / 414.7 MB, free: 20.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.1902, allocations: 4.031 kB / 414.7 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.082e-05/0.1903, allocations: 8 kB / 414.7 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.1903, allocations: 4 kB / 414.7 MB, free: 20.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.1903, allocations: 4 kB / 414.7 MB, free: 20.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.899e-05/0.1904, allocations: 91.27 kB / 414.8 MB, free: 20.56 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1904, allocations: 4 kB / 414.8 MB, free: 20.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002208/0.1906, allocations: 28 kB / 414.9 MB, free: 20.53 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 (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.0003012/0.1909, allocations: 0.7842 MB / 415.6 MB, free: 19.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001279/0.191, allocations: 86.08 kB / 415.7 MB, free: 19.63 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.191, allocations: 3.938 kB / 415.7 MB, free: 19.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.446e-05/0.1911, allocations: 39.92 kB / 415.8 MB, free: 19.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.1914, allocations: 18.41 kB / 415.8 MB, free: 19.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009712/0.1924, allocations: 0.9957 MB / 416.8 MB, free: 18.51 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.753e-05/0.1925, allocations: 0.7043 MB / 417.5 MB, free: 17.78 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.1926, allocations: 31.42 kB / 417.5 MB, free: 17.75 MB / 298.7 MB Notification: Performance of SimCode: time 3.3e-07/0.1926, allocations: 0 / 417.5 MB, free: 17.75 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.318/2.511, allocations: 1.771 MB / 419.3 MB, free: 15.98 MB / 298.7 MB (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches