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.0008037/0.0008037, allocations: 94.14 kB / 17.3 MB, free: 6.391 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.0008505/0.0008506, allocations: 175.2 kB / 18.2 MB, free: 5.551 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.381/1.381, allocations: 205.4 MB / 224.4 MB, free: 13.09 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.0004437/0.0004437, allocations: 19.14 kB / 281.5 MB, free: 3.332 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08953/0.08999, allocations: 47.58 MB / 329.1 MB, free: 3.672 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.004499/0.09453, allocations: 4.204 MB / 333.3 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003192/0.09776, allocations: 1.687 MB / 335 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003723/0.09817, allocations: 23.88 kB / 335 MB, free: 13.72 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006008/0.09878, allocations: 222.9 kB / 335.2 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.1004, allocations: 0.6456 MB / 335.8 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.101, allocations: 203.7 kB / 336 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002446/0.1034, allocations: 2.168 MB / 338.2 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.1047, allocations: 1.039 MB / 339.2 MB, free: 9.406 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.1059, allocations: 0.6029 MB / 339.8 MB, free: 8.801 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.107, allocations: 0.8557 MB / 340.7 MB, free: 7.941 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.1072, allocations: 84 kB / 340.8 MB, free: 7.859 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005453/0.1077, allocations: 199.9 kB / 341 MB, free: 7.664 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003699/0.1081, allocations: 426.4 kB / 341.4 MB, free: 7.246 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008219/0.1089, allocations: 0.7789 MB / 342.2 MB, free: 6.457 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00251/0.1114, allocations: 2.41 MB / 344.6 MB, free: 4.039 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1115, allocations: 4 kB / 344.6 MB, free: 4.035 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1115, allocations: 3.938 kB / 344.6 MB, free: 4.031 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.827e-05/0.1115, allocations: 0 / 344.6 MB, free: 4.031 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.004436/0.116, allocations: 1.907 MB / 346.5 MB, free: 2.07 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.116, allocations: 8.031 kB / 346.5 MB, free: 2.062 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003625/0.1164, allocations: 210.8 kB / 346.7 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.1182, allocations: 366.6 kB / 347.1 MB, free: 1.488 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.1198, allocations: 1.044 MB / 348.1 MB, free: 412 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.451e-05/0.1199, allocations: 98.8 kB / 348.2 MB, free: 312 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/0.1201, allocations: 132 kB / 348.3 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003033/0.1232, allocations: 1.902 MB / 350.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.1232, allocations: 0 / 350.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.1234, allocations: 56 kB / 350.3 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.235e-05/0.1234, allocations: 45.94 kB / 350.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002738/0.1262, allocations: 1.711 MB / 352.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009006/0.1352, allocations: 5.641 MB / 357.7 MB, free: 6.574 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00317/0.1384, allocations: 2.926 MB / 360.6 MB, free: 3.199 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008161/0.1392, allocations: 0.4993 MB / 361.1 MB, free: 2.695 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002357/0.1416, allocations: 1.533 MB / 362.7 MB, free: 1.094 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.1417, allocations: 46.5 kB / 362.7 MB, free: 1.039 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.003e-06/0.1417, allocations: 0 / 362.7 MB, free: 1.039 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003323/0.145, allocations: 1.462 MB / 364.2 MB, free: 15.55 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.1451, allocations: 85.11 kB / 364.2 MB, free: 15.45 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.1464, allocations: 1.028 MB / 365.3 MB, free: 14.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.731e-05/0.1464, allocations: 37.7 kB / 365.3 MB, free: 14.36 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006815/0.1471, allocations: 0.6774 MB / 366 MB, free: 13.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.1473, allocations: 189.3 kB / 366.2 MB, free: 13.49 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.86e-05/0.1474, allocations: 61.62 kB / 366.2 MB, free: 13.42 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1476, allocations: 341.9 kB / 366.6 MB, free: 13.08 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000603/0.1482, allocations: 369 kB / 366.9 MB, free: 12.72 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000695/0.1489, allocations: 0.5287 MB / 367.5 MB, free: 12.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.1502, allocations: 0.8985 MB / 368.4 MB, free: 11.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.1502, allocations: 0 / 368.4 MB, free: 11.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001892/0.1521, allocations: 1.025 MB / 369.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.1522, allocations: 15.92 kB / 369.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1522, allocations: 4 kB / 369.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.1522, allocations: 8 kB / 369.4 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/0.1529, allocations: 191.7 kB / 369.6 MB, free: 9.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.1529, allocations: 8.234 kB / 369.6 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/0.1535, allocations: 91.33 kB / 369.7 MB, free: 9.812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/0.1535, allocations: 31.98 kB / 369.7 MB, free: 9.781 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.0007368/0.1543, allocations: 0.5297 MB / 370.3 MB, free: 9.242 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.1544, allocations: 95.09 kB / 370.3 MB, free: 9.148 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.1558, allocations: 0.6903 MB / 371 MB, free: 8.441 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.1559, allocations: 4 kB / 371 MB, free: 8.438 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.1559, allocations: 11.88 kB / 371 MB, free: 8.426 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.1559, allocations: 3.984 kB / 371.1 MB, free: 8.422 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.1582, allocations: 1.679 MB / 372.7 MB, free: 6.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.1582, allocations: 7.938 kB / 372.7 MB, free: 6.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004936/0.1587, allocations: 104 kB / 372.8 MB, free: 6.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004108/0.1591, allocations: 151.8 kB / 373 MB, free: 6.422 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/0.1592, allocations: 19.98 kB / 373 MB, free: 6.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003078/0.1623, allocations: 2.61 MB / 375.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.1623, allocations: 4.031 kB / 375.6 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/0.1645, allocations: 1.515 MB / 377.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/0.1648, allocations: 188 kB / 377.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.93e-05/0.1649, allocations: 16 kB / 377.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005212/0.1654, allocations: 71.92 kB / 377.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.1655, allocations: 63.92 kB / 377.5 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.465e-05/0.1656, allocations: 20 kB / 377.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009074/0.1665, allocations: 0.7293 MB / 378.2 MB, free: 1.012 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1665, allocations: 0 / 378.2 MB, free: 1.012 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00104/0.1676, allocations: 362.4 kB / 378.6 MB, free: 0.6562 MB / 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.1578/0.3253, allocations: 2.084 MB / 380.7 MB, free: 51.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001574/0.327, allocations: 0.7971 MB / 381.5 MB, free: 51.22 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.327, allocations: 0.625 kB / 381.5 MB, free: 51.22 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.3281, allocations: 0.5957 MB / 382.1 MB, free: 51.1 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.3293, allocations: 172.8 kB / 382.2 MB, free: 51.1 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/0.344, allocations: 11.84 MB / 394.1 MB, free: 45.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000874/0.3449, allocations: 1.494 MB / 395.6 MB, free: 44.49 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006693/0.3456, allocations: 233.5 kB / 395.8 MB, free: 44.45 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004786/0.3461, allocations: 484 kB / 396.3 MB, free: 44.07 MB / 318.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3461, allocations: 0 / 396.3 MB, free: 44.07 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03164/0.3777, allocations: 21.53 MB / 417.8 MB, free: 25.3 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/0.3779, allocations: 254.2 kB / 418 MB, free: 25.05 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.201/2.579, allocations: 0 / 418 MB, free: 25.05 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