Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 190.9 kB / 17.38 MB, free: 4.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.193/1.193, allocations: 226.5 MB / 244.7 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007999/0.0008, allocations: 105.5 kB / 296.7 MB, free: 6.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002129/0.000213, allocations: 4 kB / 356.9 MB, free: 10.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1784, allocations: 51.29 MB / 408.1 MB, free: 27.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.003272/0.1817, allocations: 4.502 MB / 412.6 MB, free: 23.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.1835, allocations: 1.576 MB / 414.2 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/0.1837, allocations: 16 kB / 414.2 MB, free: 21.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.184, allocations: 194.1 kB / 414.4 MB, free: 21.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004385/0.1845, allocations: 262.3 kB / 414.7 MB, free: 21.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000835/0.1853, allocations: 0.526 MB / 415.2 MB, free: 20.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004941/0.1858, allocations: 0.762 MB / 416 MB, free: 19.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001808/0.1876, allocations: 1.413 MB / 417.4 MB, free: 18.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.1879, allocations: 290.8 kB / 417.7 MB, free: 18.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.1882, allocations: 390.3 kB / 418 MB, free: 17.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.525e-05/0.1882, allocations: 36 kB / 418.1 MB, free: 17.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000365/0.1886, allocations: 215.8 kB / 418.3 MB, free: 17.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.716e-05/0.1887, allocations: 131.4 kB / 418.4 MB, free: 17.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002285/0.1889, allocations: 379.9 kB / 418.8 MB, free: 16.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005613/0.1895, allocations: 0.9048 MB / 419.7 MB, free: 16.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1895, allocations: 4 kB / 419.7 MB, free: 16.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1895, allocations: 0 / 419.7 MB, free: 16.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.1895, allocations: 0 / 419.7 MB, free: 16.04 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002963/0.1925, allocations: 1.283 MB / 421 MB, free: 14.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.1925, allocations: 8.031 kB / 421 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001287/0.1927, allocations: 156.3 kB / 421.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.1941, allocations: 251.7 kB / 421.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.1942, allocations: 267.1 kB / 421.6 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/0.1943, allocations: 74.38 kB / 421.7 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.1944, allocations: 100.3 kB / 421.8 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.1956, allocations: 0.9345 MB / 422.8 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.1956, allocations: 4 kB / 422.8 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.912e-05/0.1957, allocations: 40 kB / 422.8 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.1957, allocations: 24 kB / 422.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.1968, allocations: 0.7769 MB / 423.6 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003885/0.2007, allocations: 3.638 MB / 427.2 MB, free: 8.148 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.2022, allocations: 1.244 MB / 428.5 MB, free: 6.809 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003953/0.2026, allocations: 372.4 kB / 428.8 MB, free: 6.445 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.2027, allocations: 187.2 kB / 429 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.2027, allocations: 59.42 kB / 429.1 MB, free: 6.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 2.544e-06/0.2027, allocations: 0 / 429.1 MB, free: 6.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=87): time 0.001669/0.2044, allocations: 1.3 MB / 430.4 MB, free: 4.766 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.2044, allocations: 90.05 kB / 430.5 MB, free: 4.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.2047, allocations: 368.3 kB / 430.8 MB, free: 4.293 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.2048, allocations: 41.7 kB / 430.9 MB, free: 4.246 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.2049, allocations: 378.9 kB / 431.2 MB, free: 3.867 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.205, allocations: 303.7 kB / 431.5 MB, free: 3.566 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.2051, allocations: 20 kB / 431.6 MB, free: 3.547 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.019e-05/0.2051, allocations: 362.7 kB / 431.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.2055, allocations: 262.5 kB / 432.2 MB, free: 2.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/0.2059, allocations: 467.4 kB / 432.6 MB, free: 2.395 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008015/0.2067, allocations: 0.7628 MB / 433.4 MB, free: 1.555 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.2067, allocations: 4 kB / 433.4 MB, free: 1.551 MB / 298.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001232/0.208, allocations: 0.9649 MB / 434.4 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.208, allocations: 8 kB / 434.4 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.208, allocations: 4 kB / 434.4 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003269/0.2084, allocations: 123.5 kB / 434.5 MB, free: 436 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006834/0.2091, allocations: 203.7 kB / 434.7 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003743/0.2128, allocations: 5.567 MB / 440.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006124/0.2134, allocations: 102.9 kB / 440.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.761e-05/0.2135, allocations: 43.98 kB / 440.4 MB, free: 9.977 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003674/0.2139, allocations: 233.6 kB / 440.6 MB, free: 9.738 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.214, allocations: 47.44 kB / 440.7 MB, free: 9.691 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.2155, allocations: 0.8404 MB / 441.5 MB, free: 8.828 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.2155, allocations: 12 kB / 441.5 MB, free: 8.816 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.2155, allocations: 3.938 kB / 441.5 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.2155, allocations: 7.984 kB / 441.5 MB, free: 8.805 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.2183, allocations: 2.09 MB / 443.6 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.2184, allocations: 4 kB / 443.6 MB, free: 6.543 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005269/0.2189, allocations: 135.8 kB / 443.8 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002843/0.2192, allocations: 107.7 kB / 443.9 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.625e-05/0.2192, allocations: 19.98 kB / 443.9 MB, free: 6.273 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003366/0.2226, allocations: 5.31 MB / 449.2 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2226, allocations: 0 / 449.2 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.2244, allocations: 1.264 MB / 450.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.2246, allocations: 156.1 kB / 450.6 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.781e-05/0.2247, allocations: 16 kB / 450.6 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.2251, allocations: 24 kB / 450.7 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.2252, allocations: 64.5 kB / 450.7 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.024e-05/0.2252, allocations: 28.06 kB / 450.7 MB, free: 14.81 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002864/0.2255, allocations: 251.2 kB / 451 MB, free: 14.56 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2256, allocations: 0 / 451 MB, free: 14.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008956/0.2265, allocations: 264.4 kB / 451.2 MB, free: 14.3 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.port_p.reference.gamma) * 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 (78): * Single equations (assignments): 74 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00209/0.2286, allocations: 1.859 MB / 453.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001608/0.2302, allocations: 1.168 MB / 454.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2302, allocations: 0 / 454.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008213/0.231, allocations: 0.7854 MB / 455.1 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006465/0.2317, allocations: 76.06 kB / 455.1 MB, free: 10.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005441/0.2371, allocations: 3.715 MB / 458.8 MB, free: 6.375 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.2376, allocations: 0.9071 MB / 459.8 MB, free: 5.438 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003892/0.238, allocations: 255.3 kB / 460 MB, free: 5.188 MB / 330.7 MB Notification: Performance of SimCode: time 4.81e-07/0.238, allocations: 0 / 460 MB, free: 5.188 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.824/4.062, allocations: 22.15 MB / 482.2 MB, free: 15.01 MB / 362.7 MB (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches