Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 111.9 kB / 17.28 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 185.3 kB / 18.2 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.91/1.91, allocations: 205.1 MB / 224.1 MB, free: 12.44 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 47.92 kB / 280.3 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1432, allocations: 46.62 MB / 326.9 MB, free: 4.707 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.007265/0.1505, allocations: 4.629 MB / 331.5 MB, free: 44 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003878/0.1544, allocations: 1.698 MB / 333.2 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004316/0.1549, allocations: 19.94 kB / 333.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007144/0.1557, allocations: 222.8 kB / 333.4 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.1574, allocations: 0.6418 MB / 334.1 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004827/0.1579, allocations: 203.7 kB / 334.3 MB, free: 13.25 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002327/0.1603, allocations: 1.883 MB / 336.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.1617, allocations: 1.257 MB / 337.4 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.1628, allocations: 0.7942 MB / 338.2 MB, free: 9.277 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.164, allocations: 1.008 MB / 339.2 MB, free: 8.266 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002663/0.1643, allocations: 188 kB / 339.4 MB, free: 8.082 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007176/0.165, allocations: 307.8 kB / 339.7 MB, free: 7.781 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005885/0.1656, allocations: 0.5376 MB / 340.2 MB, free: 7.242 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.1667, allocations: 0.8943 MB / 341.1 MB, free: 6.344 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002779/0.1695, allocations: 2.547 MB / 343.7 MB, free: 3.789 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1695, allocations: 0 / 343.7 MB, free: 3.789 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.247e-06/0.1696, allocations: 0 / 343.7 MB, free: 3.789 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.391e-05/0.1696, allocations: 4 kB / 343.7 MB, free: 3.785 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004682/0.1743, allocations: 2.168 MB / 345.9 MB, free: 1.562 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.393e-05/0.1744, allocations: 8.031 kB / 345.9 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003042/0.1747, allocations: 210.8 kB / 346.1 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/0.1765, allocations: 370.6 kB / 346.4 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/0.1784, allocations: 1.036 MB / 347.5 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.775e-05/0.1785, allocations: 103 kB / 347.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/0.1787, allocations: 135.9 kB / 347.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003393/0.1821, allocations: 1.882 MB / 349.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.425e-05/0.1822, allocations: 4 kB / 349.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/0.1823, allocations: 52 kB / 349.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.591e-05/0.1824, allocations: 53.98 kB / 349.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002871/0.1853, allocations: 1.687 MB / 351.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009608/0.1949, allocations: 5.587 MB / 357 MB, free: 6.148 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003633/0.1986, allocations: 2.915 MB / 359.9 MB, free: 2.781 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007523/0.1994, allocations: 499.3 kB / 360.4 MB, free: 2.289 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00254/0.2019, allocations: 1.536 MB / 361.9 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.881e-05/0.202, allocations: 42.69 kB / 361.9 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.505e-06/0.202, allocations: 0 / 361.9 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003222/0.2052, allocations: 1.411 MB / 363.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.2053, allocations: 85.05 kB / 363.4 MB, free: 15.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.2068, allocations: 1.028 MB / 364.5 MB, free: 14.05 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/0.2069, allocations: 37.7 kB / 364.5 MB, free: 14.01 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006119/0.2075, allocations: 0.6735 MB / 365.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.2077, allocations: 197.3 kB / 365.4 MB, free: 13.13 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.2079, allocations: 126.2 kB / 365.5 MB, free: 13 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.2081, allocations: 334 kB / 365.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005932/0.2087, allocations: 357 kB / 366.2 MB, free: 12.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007629/0.2095, allocations: 0.517 MB / 366.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.2109, allocations: 0.875 MB / 367.6 MB, free: 10.79 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.2109, allocations: 4 kB / 367.6 MB, free: 10.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001644/0.2126, allocations: 1.005 MB / 368.6 MB, free: 9.773 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.2126, allocations: 11.12 kB / 368.6 MB, free: 9.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.2126, allocations: 7.938 kB / 368.6 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/0.2127, allocations: 8 kB / 368.6 MB, free: 9.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007282/0.2134, allocations: 183.7 kB / 368.8 MB, free: 9.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.2134, allocations: 12 kB / 368.8 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005522/0.214, allocations: 83.42 kB / 368.9 MB, free: 9.477 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.214, allocations: 31.98 kB / 368.9 MB, free: 9.445 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008542/0.2149, allocations: 0.5258 MB / 369.4 MB, free: 8.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.2151, allocations: 90.88 kB / 369.5 MB, free: 8.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.2164, allocations: 0.6785 MB / 370.2 MB, free: 8.129 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.2164, allocations: 8 kB / 370.2 MB, free: 8.121 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.2164, allocations: 7.922 kB / 370.2 MB, free: 8.113 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.2164, allocations: 4 kB / 370.2 MB, free: 8.109 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/0.2189, allocations: 1.656 MB / 371.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2189, allocations: 3.938 kB / 371.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004469/0.2193, allocations: 107.9 kB / 372 MB, free: 6.277 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004351/0.2198, allocations: 148.6 kB / 372.1 MB, free: 6.129 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.2198, allocations: 19.98 kB / 372.1 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003233/0.2231, allocations: 2.856 MB / 375 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2231, allocations: 288 / 375 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.2253, allocations: 1.465 MB / 376.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.2256, allocations: 192 kB / 376.7 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.2257, allocations: 23.92 kB / 376.7 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005137/0.2262, allocations: 59.88 kB / 376.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.2263, allocations: 51.86 kB / 376.8 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/0.2264, allocations: 23.92 kB / 376.8 MB, free: 1.258 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009954/0.2274, allocations: 0.7332 MB / 377.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2274, allocations: 4 kB / 377.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001136/0.2285, allocations: 358.4 kB / 377.9 MB, free: 176 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (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) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2414/0.47, allocations: 2.053 MB / 379.9 MB, free: 52.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002058/0.4721, allocations: 0.8384 MB / 380.8 MB, free: 52.17 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.892e-06/0.4721, allocations: 0 / 380.8 MB, free: 52.17 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.4733, allocations: 0.5817 MB / 381.4 MB, free: 52.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.4745, allocations: 178.4 kB / 381.5 MB, free: 51.99 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01901/0.4935, allocations: 11.68 MB / 393.2 MB, free: 45.9 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.4947, allocations: 1.491 MB / 394.7 MB, free: 45.04 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007644/0.4955, allocations: 233.9 kB / 394.9 MB, free: 45.01 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005196/0.496, allocations: 484.8 kB / 395.4 MB, free: 44.62 MB / 318.1 MB Notification: Performance of SimCode: time 1.112e-06/0.496, allocations: 1.375 kB / 395.4 MB, free: 44.62 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04319/0.5392, allocations: 22.28 MB / 417.7 MB, free: 24.98 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/0.5395, allocations: 255.2 kB / 417.9 MB, free: 24.72 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/2.959, allocations: 3.938 kB / 417.9 MB, free: 24.72 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches