Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00158/0.00158, allocations: 111.7 kB / 17.98 MB, free: 5.215 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001944/0.001945, allocations: 205.8 kB / 18.92 MB, free: 4.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 68.09 kB / 307.1 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08569/0.08692, allocations: 50.54 MB / 357.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007259/0.09421, allocations: 6.599 MB / 364.2 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003811/0.09806, allocations: 2.227 MB / 366.5 MB, free: 5.531 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000577/0.09869, allocations: 39.88 kB / 366.5 MB, free: 5.492 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007542/0.09945, allocations: 314.3 kB / 366.8 MB, free: 5.184 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001804/0.1013, allocations: 0.7661 MB / 367.6 MB, free: 4.414 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006966/0.102, allocations: 311.5 kB / 367.9 MB, free: 4.109 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003298/0.1053, allocations: 3.191 MB / 371.1 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1508/0.2561, allocations: 1.998 MB / 373.1 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/0.2578, allocations: 1.296 MB / 374.4 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001877/0.2597, allocations: 1.658 MB / 376 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004615/0.2602, allocations: 294 kB / 376.3 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008644/0.2611, allocations: 430.5 kB / 376.7 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007038/0.2618, allocations: 0.8549 MB / 377.6 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001365/0.2632, allocations: 1.468 MB / 379.1 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00345/0.2666, allocations: 3.359 MB / 382.4 MB, free: 8.094 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2666, allocations: 4 kB / 382.4 MB, free: 8.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2666, allocations: 1.125 kB / 382.4 MB, free: 8.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001018/0.2668, allocations: 0 / 382.4 MB, free: 8.09 MB / 302.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.008134/0.2749, allocations: 3.482 MB / 385.9 MB, free: 6.305 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2749, allocations: 10.41 kB / 385.9 MB, free: 6.305 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004269/0.2792, allocations: 0.7541 MB / 386.7 MB, free: 6.121 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003072/0.2823, allocations: 1.674 MB / 388.4 MB, free: 5.293 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.2824, allocations: 171.3 kB / 388.5 MB, free: 5.215 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003794/0.2828, allocations: 231.1 kB / 388.7 MB, free: 5.137 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005042/0.2879, allocations: 3.205 MB / 391.9 MB, free: 3.316 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.51e-05/0.2879, allocations: 4.969 kB / 392 MB, free: 3.312 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002248/0.2882, allocations: 91.78 kB / 392 MB, free: 3.242 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.777e-05/0.2882, allocations: 72.14 kB / 392.1 MB, free: 3.234 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004163/0.2924, allocations: 2.862 MB / 395 MB, free: 1.781 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01484/0.3073, allocations: 9.239 MB / 404.2 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004763/0.3121, allocations: 4.381 MB / 408.6 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/0.3133, allocations: 0.803 MB / 409.4 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00446/0.3178, allocations: 3.16 MB / 412.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.3179, allocations: 54.73 kB / 412.6 MB, free: 1.402 MB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 3.326e-06/0.3179, allocations: 0 / 412.6 MB, free: 1.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.0087/0.3266, allocations: 4.194 MB / 416.8 MB, free: 13.13 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.3267, allocations: 113.9 kB / 416.9 MB, free: 13 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002473/0.3292, allocations: 1.621 MB / 418.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.3293, allocations: 41.7 kB / 418.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007526/0.33, allocations: 1.113 MB / 419.7 MB, free: 10.19 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003247/0.3304, allocations: 360.6 kB / 420 MB, free: 9.844 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003983/0.3308, allocations: 241.9 kB / 420.3 MB, free: 9.605 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3309, allocations: 361.9 kB / 420.6 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.332, allocations: 0.6349 MB / 421.3 MB, free: 8.613 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.3333, allocations: 1.009 MB / 422.3 MB, free: 7.445 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002283/0.3356, allocations: 1.702 MB / 424 MB, free: 5.637 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.3356, allocations: 8 kB / 424 MB, free: 5.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003365/0.339, allocations: 1.94 MB / 425.9 MB, free: 3.754 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.3391, allocations: 11.22 kB / 425.9 MB, free: 3.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.3391, allocations: 16 kB / 426 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003608/0.3395, allocations: 125.6 kB / 426.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.3407, allocations: 337.3 kB / 426.4 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002804/0.3436, allocations: 3.424 MB / 429.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.3448, allocations: 103.6 kB / 429.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.345, allocations: 55.98 kB / 430 MB, free: 15.45 MB / 350.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.001371/0.3464, allocations: 0.836 MB / 430.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004229/0.3468, allocations: 146.2 kB / 431 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002546/0.3493, allocations: 1.392 MB / 432.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.3494, allocations: 8 kB / 432.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.3494, allocations: 8 kB / 432.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.846e-05/0.3494, allocations: 15.84 kB / 432.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004277/0.3537, allocations: 2.448 MB / 434.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.3537, allocations: 0 / 434.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008356/0.3546, allocations: 182.3 kB / 435 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006627/0.3552, allocations: 273.7 kB / 435.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.689e-05/0.3553, allocations: 27.98 kB / 435.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005483/0.3608, allocations: 6.257 MB / 441.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3608, allocations: 0 / 441.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003868/0.3647, allocations: 2.544 MB / 444.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005583/0.3653, allocations: 259 kB / 444.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003595/0.3657, allocations: 31.98 kB / 444.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.3667, allocations: 91.84 kB / 444.5 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/0.367, allocations: 96.05 kB / 444.6 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.401e-05/0.3671, allocations: 36.05 kB / 444.6 MB, free: 352 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001724/0.3688, allocations: 1.132 MB / 445.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3688, allocations: 4 kB / 445.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001743/0.3705, allocations: 448 kB / 446.2 MB, free: 14.77 MB / 366.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.0003353/0.3709, allocations: 163.9 kB / 446.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003241/0.3741, allocations: 1.907 MB / 448.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.3742, allocations: 8.062 kB / 448.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00179/0.376, allocations: 1.173 MB / 449.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.3777, allocations: 280 kB / 449.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008252/0.386, allocations: 5.677 MB / 455.4 MB, free: 5.547 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001749/0.3878, allocations: 2.046 MB / 457.4 MB, free: 3.465 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005515/0.3883, allocations: 111.4 kB / 457.5 MB, free: 3.355 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3883, allocations: 0 / 457.5 MB, free: 3.355 MB / 366.1 MB Notification: Performance of Templates: time 0.06272/0.4511, allocations: 57.17 MB / 0.5026 GB, free: 10.26 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches