Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.GeneralLeakage,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009145/0.0009145, allocations: 191.6 kB / 17.37 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.184/1.184, allocations: 226.5 MB / 244.7 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00076/0.00076, allocations: 100 kB / 296.7 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000225/0.000225, allocations: 11.94 kB / 356.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1795, allocations: 51.28 MB / 408.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.001942/0.1815, allocations: 2.403 MB / 410.5 MB, free: 25.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.1826, allocations: 1.086 MB / 411.6 MB, free: 24.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.1827, allocations: 8.844 kB / 411.6 MB, free: 24.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.183, allocations: 95.52 kB / 411.7 MB, free: 24.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.1832, allocations: 105.1 kB / 411.8 MB, free: 24.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007833/0.184, allocations: 0.5255 MB / 412.4 MB, free: 23.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.1842, allocations: 274.6 kB / 412.6 MB, free: 23.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007217/0.185, allocations: 0.5568 MB / 413.2 MB, free: 22.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.1851, allocations: 111.6 kB / 413.3 MB, free: 22.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.1852, allocations: 143.5 kB / 413.4 MB, free: 22.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.1853, allocations: 12 kB / 413.4 MB, free: 22.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002603/0.1855, allocations: 167.8 kB / 413.6 MB, free: 22.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.832e-05/0.1856, allocations: 43.8 kB / 413.6 MB, free: 22.17 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.225e-05/0.1857, allocations: 149.1 kB / 413.8 MB, free: 22.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.1859, allocations: 376.2 kB / 414.2 MB, free: 21.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1859, allocations: 0 / 414.2 MB, free: 21.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.186, allocations: 0 / 414.2 MB, free: 21.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.186, allocations: 0 / 414.2 MB, free: 21.65 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001183/0.1872, allocations: 0.6787 MB / 414.8 MB, free: 20.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.1872, allocations: 8.031 kB / 414.8 MB, free: 20.91 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.254e-05/0.1872, allocations: 74.66 kB / 414.9 MB, free: 20.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006794/0.1879, allocations: 116.5 kB / 415 MB, free: 20.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.1881, allocations: 256.6 kB / 415.3 MB, free: 20.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.1882, allocations: 29.03 kB / 415.3 MB, free: 20.4 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.886e-05/0.1882, allocations: 36.06 kB / 415.3 MB, free: 20.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/0.1886, allocations: 329.1 kB / 415.7 MB, free: 20.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.1887, allocations: 3.906 kB / 415.7 MB, free: 20.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.1887, allocations: 8 kB / 415.7 MB, free: 20.03 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1887, allocations: 8 kB / 415.7 MB, free: 20.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003088/0.189, allocations: 250.4 kB / 415.9 MB, free: 19.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.1904, allocations: 1.447 MB / 417.4 MB, free: 18.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004327/0.1909, allocations: 0.7053 MB / 418.1 MB, free: 17.37 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.191, allocations: 112.1 kB / 418.2 MB, free: 17.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.1911, allocations: 166.2 kB / 418.4 MB, free: 17.06 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.1912, allocations: 38.56 kB / 418.4 MB, free: 17.01 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/0.1912, allocations: 0 / 418.4 MB, free: 17.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009961/0.1922, allocations: 499.8 kB / 418.9 MB, free: 16.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.729e-05/0.1922, allocations: 59.34 kB / 418.9 MB, free: 16.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.1923, allocations: 179.2 kB / 419.1 MB, free: 16.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.1923, allocations: 29.7 kB / 419.1 MB, free: 16.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/0.1924, allocations: 175.9 kB / 419.3 MB, free: 16.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.1924, allocations: 82.8 kB / 419.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/0.1924, allocations: 8 kB / 419.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.016e-05/0.1925, allocations: 322.8 kB / 419.7 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.265e-05/0.1926, allocations: 76.53 kB / 419.8 MB, free: 15.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.1927, allocations: 125 kB / 419.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.1929, allocations: 212.1 kB / 420.1 MB, free: 15.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1929, allocations: 0 / 420.1 MB, free: 15.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004514/0.1934, allocations: 324.7 kB / 420.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1934, allocations: 11.98 kB / 420.5 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1934, allocations: 0 / 420.5 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002567/0.1937, allocations: 76.81 kB / 420.5 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.1938, allocations: 39.92 kB / 420.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.1951, allocations: 1.839 MB / 422.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.1952, allocations: 27.72 kB / 422.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.1952, allocations: 8.094 kB / 422.4 MB, free: 12.69 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.975e-05/0.1954, allocations: 157.7 kB / 422.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.1954, allocations: 15.81 kB / 422.6 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004353/0.1958, allocations: 292 kB / 422.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1958, allocations: 4 kB / 422.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.1959, allocations: 0 / 422.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1959, allocations: 0 / 422.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006938/0.1966, allocations: 0.69 MB / 423.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1966, allocations: 4 kB / 423.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.943e-05/0.1967, allocations: 23.98 kB / 423.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000195/0.1969, allocations: 72.75 kB / 423.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.1969, allocations: 8 kB / 423.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.1981, allocations: 1.831 MB / 425.5 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1981, allocations: 3.984 kB / 425.5 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000477/0.1986, allocations: 443.9 kB / 426 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.1987, allocations: 116.8 kB / 426.1 MB, free: 8.797 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.1987, allocations: 4 kB / 426.1 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.1988, allocations: 8.281 kB / 426.1 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.1988, allocations: 11.98 kB / 426.1 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.1989, allocations: 11.98 kB / 426.1 MB, free: 8.762 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.262e-05/0.1989, allocations: 131.4 kB / 426.2 MB, free: 8.633 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1989, allocations: 0 / 426.2 MB, free: 8.633 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004058/0.1993, allocations: 95.69 kB / 426.3 MB, free: 8.539 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000683/0.2, allocations: 1.004 MB / 427.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004495/0.2005, allocations: 350.2 kB / 427.7 MB, free: 7.152 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2005, allocations: 448 / 427.7 MB, free: 7.152 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.2008, allocations: 254.4 kB / 427.9 MB, free: 6.891 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.2011, allocations: 23.98 kB / 428 MB, free: 6.867 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.2026, allocations: 1.47 MB / 429.4 MB, free: 5.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.2028, allocations: 0.7558 MB / 430.2 MB, free: 4.539 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.431e-05/0.2029, allocations: 71.42 kB / 430.2 MB, free: 4.473 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2029, allocations: 0 / 430.2 MB, free: 4.473 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.722/2.925, allocations: 4.872 MB / 435.1 MB, free: 15.6 MB / 314.7 MB (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage.fmu > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches