Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001243/0.001243, allocations: 115.5 kB / 18.45 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001301/0.001301, allocations: 210.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.423/1.423, allocations: 227.7 MB / 247.9 MB, free: 10.2 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 63.89 kB / 359.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2251, allocations: 50.54 MB / 410.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008383/0.2335, allocations: 6.663 MB / 416.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004329/0.2378, allocations: 2.266 MB / 419.1 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006009/0.2384, allocations: 43.81 kB / 419.2 MB, free: 8.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007979/0.2392, allocations: 381.5 kB / 419.6 MB, free: 8.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.2413, allocations: 0.8472 MB / 420.4 MB, free: 7.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007812/0.242, allocations: 358 kB / 420.7 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003605/0.2456, allocations: 3.191 MB / 423.9 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001817/0.2475, allocations: 1.5 MB / 425.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.2491, allocations: 1.3 MB / 426.7 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001918/0.251, allocations: 1.623 MB / 428.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003875/0.2514, allocations: 299.9 kB / 428.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008197/0.2522, allocations: 431.8 kB / 429.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007652/0.2529, allocations: 0.8568 MB / 429.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00157/0.2545, allocations: 1.466 MB / 431.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004113/0.2586, allocations: 4.11 MB / 435.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2586, allocations: 3.984 kB / 435.5 MB, free: 8.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2586, allocations: 4 kB / 435.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.017e-05/0.2587, allocations: 0 / 435.5 MB, free: 8.012 MB / 350.1 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.007837/0.2665, allocations: 3.553 MB / 439.1 MB, free: 4.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2666, allocations: 8.031 kB / 439.1 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004346/0.2709, allocations: 0.768 MB / 439.8 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003213/0.2741, allocations: 1.739 MB / 441.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.2743, allocations: 173 kB / 441.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003738/0.2746, allocations: 232.1 kB / 442 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005197/0.2798, allocations: 3.199 MB / 445.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.623e-05/0.2799, allocations: 0 / 445.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002331/0.2801, allocations: 99.97 kB / 445.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.301e-05/0.2802, allocations: 66 kB / 445.3 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004916/0.2851, allocations: 2.866 MB / 448.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0153/0.3004, allocations: 9.163 MB / 457.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005364/0.3058, allocations: 4.315 MB / 461.7 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/0.307, allocations: 0.7551 MB / 462.4 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004493/0.3115, allocations: 3.15 MB / 465.6 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.3116, allocations: 50.83 kB / 465.6 MB, free: 8.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.254e-06/0.3116, allocations: 0 / 465.6 MB, free: 8.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.008376/0.3199, allocations: 4.285 MB / 469.9 MB, free: 4.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.675e-05/0.32, allocations: 115.2 kB / 470 MB, free: 3.934 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/0.3223, allocations: 1.614 MB / 471.7 MB, free: 2.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.133e-05/0.3224, allocations: 53.7 kB / 471.7 MB, free: 2.246 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000935/0.3233, allocations: 1.145 MB / 472.9 MB, free: 1.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003599/0.3237, allocations: 381.1 kB / 473.2 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003613/0.324, allocations: 234.9 kB / 473.5 MB, free: 492 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.3242, allocations: 357.9 kB / 473.8 MB, free: 128 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.3253, allocations: 0.6387 MB / 474.4 MB, free: 15.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/0.3268, allocations: 1.011 MB / 475.5 MB, free: 14.31 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002669/0.3295, allocations: 1.701 MB / 477.2 MB, free: 12.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.3295, allocations: 4 kB / 477.2 MB, free: 12.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003613/0.3331, allocations: 1.946 MB / 479.1 MB, free: 10.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.3331, allocations: 12 kB / 479.1 MB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/0.3331, allocations: 15.94 kB / 479.1 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003957/0.3335, allocations: 121.6 kB / 479.2 MB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.3349, allocations: 335.7 kB / 479.6 MB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003306/0.3382, allocations: 3.427 MB / 483 MB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.3393, allocations: 95.67 kB / 483.1 MB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.833e-05/0.3394, allocations: 60.05 kB / 483.2 MB, free: 6.152 MB / 398.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001365/0.3407, allocations: 0.8293 MB / 484 MB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003357/0.3411, allocations: 159 kB / 484.1 MB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002717/0.3438, allocations: 1.393 MB / 485.5 MB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.3438, allocations: 8 kB / 485.5 MB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/0.3438, allocations: 7.938 kB / 485.5 MB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.3438, allocations: 7.984 kB / 485.6 MB, free: 3.723 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004041/0.3479, allocations: 2.45 MB / 488 MB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-06/0.3479, allocations: 0 / 488 MB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000877/0.3487, allocations: 187.7 kB / 488.2 MB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007108/0.3495, allocations: 262.4 kB / 488.4 MB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.133e-05/0.3495, allocations: 35.97 kB / 488.5 MB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006523/0.3561, allocations: 6.247 MB / 494.7 MB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3561, allocations: 0 / 494.7 MB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004377/0.3604, allocations: 2.558 MB / 497.3 MB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000506/0.3609, allocations: 268 kB / 497.5 MB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/0.3611, allocations: 27.94 kB / 497.6 MB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009151/0.362, allocations: 87.89 kB / 497.7 MB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002637/0.3623, allocations: 100.2 kB / 497.8 MB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.904e-05/0.3624, allocations: 28 kB / 497.8 MB, free: 6.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001746/0.3641, allocations: 1.135 MB / 498.9 MB, free: 5.793 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3641, allocations: 0 / 498.9 MB, free: 5.793 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001535/0.3657, allocations: 444 kB / 499.4 MB, free: 5.359 MB / 414.1 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000317/0.366, allocations: 163.8 kB / 499.5 MB, free: 5.188 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003093/0.3691, allocations: 1.671 MB / 0.4894 GB, free: 3.488 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.3691, allocations: 4 kB / 0.4894 GB, free: 3.484 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001991/0.3711, allocations: 1.153 MB / 0.4906 GB, free: 2.297 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.3726, allocations: 294.6 kB / 0.4909 GB, free: 2.012 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007507/0.3801, allocations: 4.717 MB / 0.4955 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00201/0.3821, allocations: 2.105 MB / 0.4975 GB, free: 11.1 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001164/0.3833, allocations: 455.5 kB / 0.4979 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/0.3836, allocations: 99.42 kB / 0.498 GB, free: 10.55 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3836, allocations: 0 / 0.498 GB, free: 10.55 MB / 430.1 MB Notification: Performance of Templates: time 0.03855/0.4222, allocations: 20.15 MB / 0.5177 GB, free: 6.625 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches