Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.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.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001303/0.001303, allocations: 190.5 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.207/1.207, allocations: 226.5 MB / 244.7 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007483/0.0007485, allocations: 97.12 kB / 296.7 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001959/0.000196, allocations: 4 kB / 356.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1803, allocations: 51.3 MB / 408.1 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.002507/0.1828, allocations: 3.534 MB / 411.7 MB, free: 24.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009533/0.1838, allocations: 0.8851 MB / 412.6 MB, free: 23.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.184, allocations: 8 kB / 412.6 MB, free: 23.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.1841, allocations: 71.44 kB / 412.6 MB, free: 23.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.1843, allocations: 154.9 kB / 412.8 MB, free: 23.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.1846, allocations: 95.89 kB / 412.9 MB, free: 22.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003643/0.1849, allocations: 0.6263 MB / 413.5 MB, free: 22.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.1852, allocations: 171.9 kB / 413.7 MB, free: 22.13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.1854, allocations: 227.1 kB / 413.9 MB, free: 21.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.1856, allocations: 250.9 kB / 414.1 MB, free: 21.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.997e-05/0.1856, allocations: 32 kB / 414.2 MB, free: 21.63 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.806e-05/0.1857, allocations: 43.92 kB / 414.2 MB, free: 21.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.51e-05/0.1858, allocations: 95.55 kB / 414.3 MB, free: 21.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.186, allocations: 292.3 kB / 414.6 MB, free: 21.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.1862, allocations: 475.9 kB / 415.1 MB, free: 20.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1862, allocations: 0 / 415.1 MB, free: 20.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1862, allocations: 0 / 415.1 MB, free: 20.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1863, allocations: 0 / 415.1 MB, free: 20.74 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.0009554/0.1872, allocations: 0.7833 MB / 415.8 MB, free: 19.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1873, allocations: 8.031 kB / 415.8 MB, free: 19.9 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.1874, allocations: 111.9 kB / 416 MB, free: 19.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002324/0.1876, allocations: 88.16 kB / 416 MB, free: 19.69 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.1879, allocations: 375.6 kB / 416.4 MB, free: 19.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.188, allocations: 45.62 kB / 416.5 MB, free: 19.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.315e-05/0.188, allocations: 48.38 kB / 416.5 MB, free: 19.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006612/0.1887, allocations: 0.4918 MB / 417 MB, free: 18.69 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1887, allocations: 0 / 417 MB, free: 18.69 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.928e-05/0.1888, allocations: 24 kB / 417 MB, free: 18.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.1888, allocations: 16 kB / 417 MB, free: 18.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000539/0.1893, allocations: 348.6 kB / 417.4 MB, free: 18.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.1913, allocations: 1.748 MB / 419.1 MB, free: 16.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.1917, allocations: 273 kB / 419.4 MB, free: 16.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.1919, allocations: 145.7 kB / 419.5 MB, free: 16.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.1919, allocations: 4 kB / 419.5 MB, free: 16.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.192, allocations: 46.44 kB / 419.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.313e-06/0.192, allocations: 0 / 419.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001474/0.1934, allocations: 0.9808 MB / 420.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.1935, allocations: 81.11 kB / 420.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.1938, allocations: 373.7 kB / 421 MB, free: 14.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1938, allocations: 33.7 kB / 421 MB, free: 14.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1939, allocations: 303.2 kB / 421.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.194, allocations: 114.4 kB / 421.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/0.194, allocations: 4 kB / 421.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.436e-05/0.194, allocations: 346.8 kB / 421.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.1942, allocations: 104.8 kB / 421.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.1944, allocations: 198.6 kB / 422.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003714/0.1948, allocations: 319.7 kB / 422.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1948, allocations: 0 / 422.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006524/0.1955, allocations: 457.2 kB / 422.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1955, allocations: 4 kB / 422.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.1955, allocations: 7.938 kB / 422.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002965/0.1958, allocations: 89.91 kB / 422.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.1961, allocations: 79.89 kB / 423 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.1977, allocations: 2.841 MB / 425.9 MB, free: 9.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.1979, allocations: 35.92 kB / 425.9 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.1979, allocations: 16 kB / 425.9 MB, free: 9.156 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.1981, allocations: 165.7 kB / 426.1 MB, free: 8.984 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-05/0.1982, allocations: 39.53 kB / 426.1 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.911e-05/0.1982, allocations: 47.47 kB / 426.2 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1982, allocations: 4 kB / 426.2 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1982, allocations: 7.938 kB / 426.2 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1983, allocations: 3.984 kB / 426.2 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.1993, allocations: 0.95 MB / 427.1 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1993, allocations: 0 / 427.1 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.1995, allocations: 51.91 kB / 427.2 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002296/0.1997, allocations: 85.55 kB / 427.3 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.1997, allocations: 8 kB / 427.3 MB, free: 7.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001426/0.2012, allocations: 2.854 MB / 430.1 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2012, allocations: 4.031 kB / 430.1 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007001/0.2019, allocations: 0.6169 MB / 430.7 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.843e-05/0.202, allocations: 116.6 kB / 430.9 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.202, allocations: 8 kB / 430.9 MB, free: 3.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.2023, allocations: 35.97 kB / 430.9 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.2024, allocations: 23.97 kB / 430.9 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.2024, allocations: 19.92 kB / 430.9 MB, free: 3.742 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001988/0.2026, allocations: 271.2 kB / 431.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2026, allocations: 0 / 431.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004719/0.2031, allocations: 116 kB / 431.3 MB, free: 3.367 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008706/0.204, allocations: 1.182 MB / 432.5 MB, free: 2.148 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000668/0.2047, allocations: 0.5118 MB / 433 MB, free: 1.613 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2047, allocations: 4 kB / 433 MB, free: 1.609 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004714/0.2052, allocations: 404.4 kB / 433.4 MB, free: 1.191 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.2057, allocations: 57.48 kB / 433.5 MB, free: 1.137 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/0.209, allocations: 2.707 MB / 436.2 MB, free: 14.33 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.2093, allocations: 0.843 MB / 437 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.2096, allocations: 175.4 kB / 437.2 MB, free: 13.28 MB / 314.7 MB Notification: Performance of SimCode: time 2.7e-07/0.2096, allocations: 0 / 437.2 MB, free: 13.28 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.313/3.523, allocations: 10.44 MB / 447.6 MB, free: 2.828 MB / 314.7 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches