Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009967/0.0009966, allocations: 111.1 kB / 291.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007714/0.0007714, allocations: 40.08 kB / 350 MB, free: 52 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2227, allocations: 49.43 MB / 399.5 MB, free: 33.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.004171/0.2269, allocations: 4.653 MB / 404.1 MB, free: 28.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.2293, allocations: 1.682 MB / 405.8 MB, free: 26.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004286/0.2298, allocations: 27.88 kB / 405.8 MB, free: 26.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005241/0.2304, allocations: 222.8 kB / 406.1 MB, free: 26.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.2316, allocations: 0.6495 MB / 406.7 MB, free: 26.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.232, allocations: 211.6 kB / 406.9 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.2334, allocations: 2.173 MB / 409.1 MB, free: 23.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008548/0.2343, allocations: 1.079 MB / 410.2 MB, free: 22.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005842/0.2349, allocations: 0.681 MB / 410.8 MB, free: 21.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006879/0.2356, allocations: 0.9495 MB / 411.8 MB, free: 20.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.2358, allocations: 120 kB / 411.9 MB, free: 20.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004378/0.2362, allocations: 239.8 kB / 412.1 MB, free: 20.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.2365, allocations: 470.5 kB / 412.6 MB, free: 20.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005424/0.237, allocations: 0.8201 MB / 413.4 MB, free: 19.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.2384, allocations: 2.486 MB / 415.9 MB, free: 16.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2384, allocations: 0 / 415.9 MB, free: 16.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2384, allocations: 0 / 415.9 MB, free: 16.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.715e-05/0.2384, allocations: 0 / 415.9 MB, free: 16.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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.003672/0.2421, allocations: 2.177 MB / 418.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.2421, allocations: 12.03 kB / 418.1 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.2436, allocations: 370.6 kB / 418.5 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.2451, allocations: 1.067 MB / 419.5 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.638e-05/0.2451, allocations: 99.05 kB / 419.6 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.2453, allocations: 140.1 kB / 419.8 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/0.2475, allocations: 1.886 MB / 421.6 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.2475, allocations: 0 / 421.6 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.2476, allocations: 56 kB / 421.7 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.2477, allocations: 46 kB / 421.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.2498, allocations: 1.687 MB / 423.4 MB, free: 9.172 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00651/0.2563, allocations: 5.559 MB / 429 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002203/0.2585, allocations: 2.909 MB / 431.9 MB, free: 32 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007048/0.2593, allocations: 0.491 MB / 432.4 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002204/0.2615, allocations: 1.536 MB / 433.9 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.2615, allocations: 38.56 kB / 434 MB, free: 13.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=53): time 2.154e-06/0.2615, allocations: 0 / 434 MB, free: 13.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=53): time 0.003087/0.2646, allocations: 1.403 MB / 435.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.2647, allocations: 85.05 kB / 435.5 MB, free: 12.35 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.2661, allocations: 1.028 MB / 436.5 MB, free: 11.31 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.465e-05/0.2661, allocations: 41.7 kB / 436.5 MB, free: 11.26 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004231/0.2666, allocations: 0.6813 MB / 437.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.2667, allocations: 189.2 kB / 437.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.2669, allocations: 126.2 kB / 437.5 MB, free: 10.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.267, allocations: 330 kB / 437.8 MB, free: 9.922 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005564/0.2676, allocations: 357 kB / 438.2 MB, free: 9.574 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007017/0.2683, allocations: 0.5248 MB / 438.7 MB, free: 8.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.2696, allocations: 0.8749 MB / 439.6 MB, free: 8.039 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2696, allocations: 0 / 439.6 MB, free: 8.039 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001521/0.2711, allocations: 1.009 MB / 440.6 MB, free: 7.023 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.2711, allocations: 8 kB / 440.6 MB, free: 7.016 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.2711, allocations: 4 kB / 440.6 MB, free: 7.012 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.2712, allocations: 12.22 kB / 440.6 MB, free: 7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007157/0.2719, allocations: 183.9 kB / 440.8 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.2719, allocations: 12 kB / 440.8 MB, free: 6.809 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/0.2724, allocations: 91.27 kB / 440.9 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.661e-05/0.2725, allocations: 24 kB / 440.9 MB, free: 6.695 MB / 314.7 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.0006564/0.2731, allocations: 0.5247 MB / 441.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.2733, allocations: 94.86 kB / 441.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.2745, allocations: 0.6758 MB / 442.2 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.2745, allocations: 4 kB / 442.2 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.2745, allocations: 8 kB / 442.2 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.2746, allocations: 11.91 kB / 442.2 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.2769, allocations: 1.657 MB / 443.9 MB, free: 3.633 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.2769, allocations: 96 / 443.9 MB, free: 3.633 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/0.2774, allocations: 95.86 kB / 444 MB, free: 3.539 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004132/0.2778, allocations: 155.3 kB / 444.1 MB, free: 3.387 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.502e-05/0.2778, allocations: 19.98 kB / 444.2 MB, free: 3.367 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0027/0.2805, allocations: 2.606 MB / 446.8 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2806, allocations: 3.938 kB / 446.8 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/0.2915, allocations: 8.276 MB / 455 MB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002454/0.2918, allocations: 195.8 kB / 455.2 MB, free: 7.848 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.472e-05/0.2919, allocations: 12 kB / 455.2 MB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005458/0.2924, allocations: 64 kB / 455.3 MB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.2926, allocations: 55.84 kB / 455.4 MB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/0.2927, allocations: 16.12 kB / 455.4 MB, free: 7.703 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009474/0.2936, allocations: 0.7332 MB / 456.1 MB, free: 6.973 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2936, allocations: 0 / 456.1 MB, free: 6.973 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001347/0.295, allocations: 466.6 kB / 456.6 MB, free: 6.516 MB / 330.7 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.00027/0.2953, allocations: 135.2 kB / 456.7 MB, free: 6.371 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.2966, allocations: 0.7687 MB / 457.5 MB, free: 5.602 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2966, allocations: 0 / 457.5 MB, free: 5.602 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.2977, allocations: 0.5904 MB / 458.1 MB, free: 5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009365/0.2987, allocations: 183.3 kB / 458.2 MB, free: 4.824 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005118/0.3038, allocations: 3.943 MB / 462.2 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/0.3049, allocations: 1.515 MB / 463.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006669/0.3056, allocations: 238.7 kB / 463.9 MB, free: 15.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.3058, allocations: 59.42 kB / 464 MB, free: 14.96 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.3058, allocations: 0 / 464 MB, free: 14.96 MB / 346.7 MB Notification: Performance of Templates: time 0.02153/0.3273, allocations: 12.56 MB / 476.5 MB, free: 2.551 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches