Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009849/0.0009848, 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.209/1.209, allocations: 226.5 MB / 244.7 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007615/0.0007615, allocations: 93.12 kB / 296.7 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002177/0.0002179, allocations: 4 kB / 356.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1816, allocations: 51.29 MB / 408.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.004058/0.1857, allocations: 5.747 MB / 413.9 MB, free: 21.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002889/0.1886, allocations: 2.051 MB / 415.9 MB, free: 19.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000497/0.1892, allocations: 35.88 kB / 416 MB, free: 19.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005254/0.1897, allocations: 274.3 kB / 416.2 MB, free: 19.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.1911, allocations: 0.73 MB / 417 MB, free: 18.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004811/0.1916, allocations: 231.6 kB / 417.2 MB, free: 18.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00241/0.194, allocations: 3.254 MB / 420.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.1953, allocations: 1.658 MB / 422.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009975/0.1963, allocations: 0.9766 MB / 423.1 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.1974, allocations: 1.331 MB / 424.4 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001948/0.1976, allocations: 140 kB / 424.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005852/0.1982, allocations: 271.8 kB / 424.8 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003674/0.1985, allocations: 0.6423 MB / 425.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008942/0.1995, allocations: 1.207 MB / 426.7 MB, free: 9.074 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.2013, allocations: 3.239 MB / 429.9 MB, free: 5.828 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2013, allocations: 0 / 429.9 MB, free: 5.828 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2013, allocations: 7.938 kB / 429.9 MB, free: 5.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.156e-05/0.2014, allocations: 0 / 429.9 MB, free: 5.82 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: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.005901/0.2073, allocations: 3.019 MB / 432.9 MB, free: 2.738 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2074, allocations: 8.031 kB / 432.9 MB, free: 2.73 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00047/0.2078, allocations: 337.1 kB / 433.3 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00371/0.2115, allocations: 0.786 MB / 434 MB, free: 1.602 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002366/0.2139, allocations: 1.621 MB / 435.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.2141, allocations: 169 kB / 435.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003248/0.2144, allocations: 231.9 kB / 436.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004913/0.2193, allocations: 3.207 MB / 439.3 MB, free: 12.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.909e-05/0.2194, allocations: 0 / 439.3 MB, free: 12.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002018/0.2196, allocations: 92 kB / 439.4 MB, free: 12.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-05/0.2197, allocations: 66 kB / 439.4 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004434/0.2241, allocations: 2.89 MB / 442.3 MB, free: 9.211 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01348/0.2376, allocations: 9.308 MB / 451.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004324/0.242, allocations: 4.396 MB / 456 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.2431, allocations: 0.8225 MB / 456.8 MB, free: 9.719 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003715/0.2468, allocations: 3.153 MB / 460 MB, free: 6.305 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.2469, allocations: 50.75 kB / 460 MB, free: 6.246 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 2.345e-06/0.2469, allocations: 0 / 460 MB, free: 6.246 MB / 330.7 MB Notification: Performance of matching and sorting (n=100): time 0.007125/0.254, allocations: 4.255 MB / 464.3 MB, free: 1.895 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.2541, allocations: 115.2 kB / 464.4 MB, free: 1.758 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/0.2559, allocations: 1.588 MB / 466 MB, free: 156 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.061e-05/0.256, allocations: 49.7 kB / 466 MB, free: 100 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006662/0.2567, allocations: 1.102 MB / 467.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.2569, allocations: 358.9 kB / 467.5 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.647e-05/0.257, allocations: 24 kB / 467.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2571, allocations: 357.9 kB / 467.9 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.2581, allocations: 0.6504 MB / 468.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.2593, allocations: 1.027 MB / 469.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00229/0.2616, allocations: 1.735 MB / 471.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.2617, allocations: 4 kB / 471.3 MB, free: 10.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003114/0.2648, allocations: 1.96 MB / 473.2 MB, free: 8.539 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.2648, allocations: 15.94 kB / 473.3 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.2648, allocations: 12 kB / 473.3 MB, free: 8.512 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003398/0.2652, allocations: 125.8 kB / 473.4 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.2664, allocations: 343.5 kB / 473.7 MB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002527/0.2689, allocations: 3.186 MB / 476.9 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.27, allocations: 111.6 kB / 477 MB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.922e-05/0.2701, allocations: 59.94 kB / 477.1 MB, free: 4.422 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * 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%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001266/0.2713, allocations: 0.8268 MB / 477.9 MB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/0.2716, allocations: 146.2 kB / 478.1 MB, free: 3.441 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.274, allocations: 1.411 MB / 479.5 MB, free: 2.016 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.274, allocations: 15.98 kB / 479.5 MB, free: 2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.274, allocations: 8 kB / 479.5 MB, free: 1.992 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.274, allocations: 4.266 kB / 479.5 MB, free: 1.988 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/0.2774, allocations: 2.456 MB / 481.9 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.2774, allocations: 7.984 kB / 482 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008578/0.2782, allocations: 195.8 kB / 482.1 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006149/0.2789, allocations: 256.6 kB / 482.4 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.056e-05/0.279, allocations: 31.98 kB / 482.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004942/0.2839, allocations: 5.777 MB / 488.2 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2839, allocations: 3.938 kB / 488.2 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003669/0.2876, allocations: 2.596 MB / 490.8 MB, free: 6.164 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003589/0.288, allocations: 251.2 kB / 491 MB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.2881, allocations: 31.98 kB / 491.1 MB, free: 5.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008142/0.289, allocations: 107.8 kB / 491.2 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002412/0.2892, allocations: 92.23 kB / 491.3 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.797e-05/0.2893, allocations: 35.98 kB / 491.3 MB, free: 5.637 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001397/0.2907, allocations: 1.103 MB / 492.4 MB, free: 4.531 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2907, allocations: 0 / 492.4 MB, free: 4.531 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001333/0.292, allocations: 444 kB / 492.8 MB, free: 4.098 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[3].Phi.im) * 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 (76): * Single equations (assignments): 73 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 16,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004053/0.2961, allocations: 3.206 MB / 496.1 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002656/0.2988, allocations: 1.739 MB / 497.8 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.2988, allocations: 0 / 497.8 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001711/0.3005, allocations: 1.188 MB / 499 MB, free: 13.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/0.3021, allocations: 275.3 kB / 499.2 MB, free: 13.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.159/0.4611, allocations: 13.48 MB / 0.5007 GB, free: 92.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001663/0.4628, allocations: 2.038 MB / 0.5027 GB, free: 91.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000962/0.4637, allocations: 0.8346 MB / 0.5035 GB, free: 91.66 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.4638, allocations: 0 / 0.5035 GB, free: 91.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.775/5.238, allocations: 64.69 MB / 0.5667 GB, free: 34.28 MB / 378.7 MB (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches