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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 109 kB / 17.15 MB, free: 6.328 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.001541/0.001541, allocations: 198 kB / 18.07 MB, free: 5.434 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.341/1.341, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001136/0.001136, allocations: 51.92 kB / 280 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08153/0.08268, allocations: 46.63 MB / 326.6 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.006051/0.08877, allocations: 4.613 MB / 331.2 MB, free: 256 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003156/0.09195, allocations: 1.734 MB / 333 MB, free: 14.51 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000546/0.09256, allocations: 27.81 kB / 333 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007309/0.09331, allocations: 214.9 kB / 333.2 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001796/0.09512, allocations: 0.6496 MB / 333.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005434/0.09567, allocations: 215.6 kB / 334 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002144/0.09783, allocations: 2.163 MB / 336.2 MB, free: 11.24 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.0989, allocations: 1.043 MB / 337.3 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006871/0.0996, allocations: 0.6654 MB / 337.9 MB, free: 9.492 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009702/0.1006, allocations: 0.9494 MB / 338.9 MB, free: 8.539 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001726/0.1008, allocations: 120 kB / 339 MB, free: 8.422 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005115/0.1013, allocations: 243.9 kB / 339.2 MB, free: 8.184 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003596/0.1017, allocations: 466.4 kB / 339.7 MB, free: 7.727 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007426/0.1024, allocations: 0.8123 MB / 340.5 MB, free: 6.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.1044, allocations: 2.489 MB / 343 MB, free: 4.414 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1044, allocations: 4 kB / 343 MB, free: 4.41 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.1044, allocations: 3.938 kB / 343 MB, free: 4.406 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.278e-05/0.1044, allocations: 3.938 kB / 343 MB, free: 4.402 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.004569/0.109, allocations: 2.168 MB / 345.2 MB, free: 2.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.1091, allocations: 12.03 kB / 345.2 MB, free: 2.168 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001749/0.1108, allocations: 358.6 kB / 345.5 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.1125, allocations: 1.036 MB / 346.6 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.916e-05/0.1126, allocations: 111 kB / 346.7 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/0.1129, allocations: 136.1 kB / 346.8 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003332/0.1162, allocations: 1.882 MB / 348.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.1163, allocations: 4 kB / 348.7 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.1164, allocations: 63.94 kB / 348.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.385e-05/0.1165, allocations: 42 kB / 348.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002691/0.1192, allocations: 1.68 MB / 350.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008397/0.1276, allocations: 5.583 MB / 356.1 MB, free: 6.996 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/0.1306, allocations: 2.908 MB / 359 MB, free: 3.637 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007031/0.1313, allocations: 0.4915 MB / 359.5 MB, free: 3.141 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002262/0.1336, allocations: 1.544 MB / 361 MB, free: 1.527 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.1336, allocations: 34.56 kB / 361 MB, free: 1.484 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.224e-06/0.1336, allocations: 4 kB / 361 MB, free: 1.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003135/0.1368, allocations: 1.414 MB / 362.4 MB, free: 40 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.388e-05/0.1369, allocations: 85.05 kB / 362.5 MB, free: 15.94 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/0.1383, allocations: 1.032 MB / 363.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.1383, allocations: 33.7 kB / 363.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004538/0.1388, allocations: 0.6774 MB / 364.3 MB, free: 14.17 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.1389, allocations: 189.3 kB / 364.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002769/0.1392, allocations: 126.2 kB / 364.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1394, allocations: 334 kB / 364.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005739/0.1399, allocations: 361 kB / 365.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006955/0.1406, allocations: 0.517 MB / 365.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.1419, allocations: 0.875 MB / 366.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1419, allocations: 4.281 kB / 366.7 MB, free: 11.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001573/0.1435, allocations: 1.005 MB / 367.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.1436, allocations: 8 kB / 367.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.1436, allocations: 7.938 kB / 367.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.1436, allocations: 11.94 kB / 367.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007593/0.1444, allocations: 187.7 kB / 367.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.1444, allocations: 8.188 kB / 367.9 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005417/0.1449, allocations: 83.33 kB / 368 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/0.145, allocations: 32 kB / 368 MB, free: 10.29 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.0007806/0.1458, allocations: 0.5211 MB / 368.5 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.146, allocations: 90.88 kB / 368.6 MB, free: 9.668 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.1472, allocations: 0.6863 MB / 369.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.1472, allocations: 4 kB / 369.3 MB, free: 8.965 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.1472, allocations: 4 kB / 369.3 MB, free: 8.961 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.1472, allocations: 11.92 kB / 369.3 MB, free: 8.949 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/0.1495, allocations: 1.652 MB / 371 MB, free: 7.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.1496, allocations: 4 kB / 371 MB, free: 7.227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004388/0.15, allocations: 95.95 kB / 371.1 MB, free: 7.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004374/0.1504, allocations: 152.6 kB / 371.2 MB, free: 6.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.727e-05/0.1505, allocations: 19.98 kB / 371.2 MB, free: 6.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00278/0.1533, allocations: 2.618 MB / 373.8 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1533, allocations: 4.266 kB / 373.8 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.1554, allocations: 1.472 MB / 375.3 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.1556, allocations: 192 kB / 375.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.1557, allocations: 19.98 kB / 375.5 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005071/0.1562, allocations: 55.94 kB / 375.6 MB, free: 2.418 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.1564, allocations: 59.8 kB / 375.6 MB, free: 2.359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.965e-05/0.1564, allocations: 19.98 kB / 375.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009075/0.1573, allocations: 0.7293 MB / 376.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1573, allocations: 0 / 376.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009474/0.1583, allocations: 358.4 kB / 376.7 MB, free: 1.262 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.0002285/0.1585, allocations: 147.2 kB / 376.9 MB, free: 1.109 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.1598, allocations: 0.7719 MB / 377.7 MB, free: 344 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1598, allocations: 0 / 377.7 MB, free: 344 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1236/0.2835, allocations: 0.5786 MB / 378.2 MB, free: 53.38 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.2848, allocations: 167.8 kB / 378.4 MB, free: 53.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004231/0.289, allocations: 3.399 MB / 381.8 MB, free: 51.8 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008847/0.2899, allocations: 1.497 MB / 383.3 MB, free: 51.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006383/0.2906, allocations: 230.9 kB / 383.5 MB, free: 51.04 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.2908, allocations: 60.95 kB / 383.6 MB, free: 51.03 MB / 318.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2908, allocations: 0 / 383.6 MB, free: 51.03 MB / 318.1 MB Notification: Performance of Templates: time 0.01823/0.309, allocations: 11.06 MB / 394.6 MB, free: 47.45 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (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 & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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