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.0007964/0.0007965, allocations: 97.67 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009141/0.0009141, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.8 MB / 246.9 MB, free: 11.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002357/0.0002357, allocations: 4.281 kB / 307.8 MB, free: 0.7461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09452/0.09477, allocations: 51.53 MB / 359.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007021/0.1018, allocations: 6.135 MB / 365.5 MB, free: 7.047 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004048/0.1059, allocations: 2.227 MB / 367.7 MB, free: 4.812 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004918/0.1064, allocations: 43.81 kB / 367.7 MB, free: 4.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007342/0.1072, allocations: 306.3 kB / 368 MB, free: 4.469 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.1091, allocations: 0.7778 MB / 368.8 MB, free: 3.688 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007222/0.1098, allocations: 315 kB / 369.1 MB, free: 3.383 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1715/0.2813, allocations: 3.575 MB / 372.7 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002633/0.284, allocations: 1.657 MB / 374.3 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/0.286, allocations: 0.9887 MB / 375.3 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.288, allocations: 1.407 MB / 376.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002794/0.2883, allocations: 137.5 kB / 376.9 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007353/0.289, allocations: 271.4 kB / 377.1 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006578/0.2897, allocations: 0.6627 MB / 377.8 MB, free: 8.457 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001193/0.2909, allocations: 1.272 MB / 379.1 MB, free: 8.031 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004158/0.2951, allocations: 3.862 MB / 382.9 MB, free: 7.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2951, allocations: 0 / 382.9 MB, free: 7.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2951, allocations: 1.094 kB / 382.9 MB, free: 7.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001088/0.2952, allocations: 0 / 382.9 MB, free: 7.52 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: 591 * Number of variables: 591 Notification: Performance of Generate backend data structure: time 0.007669/0.3029, allocations: 3.04 MB / 386 MB, free: 6.254 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.303, allocations: 9.188 kB / 386 MB, free: 6.254 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004648/0.3076, allocations: 0.7649 MB / 386.8 MB, free: 6.105 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003193/0.3108, allocations: 1.682 MB / 388.4 MB, free: 5.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.311, allocations: 175.1 kB / 388.6 MB, free: 5.328 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00048/0.3115, allocations: 226.8 kB / 388.8 MB, free: 5.254 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005436/0.3169, allocations: 3.239 MB / 392.1 MB, free: 3.375 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.26e-05/0.317, allocations: 0 / 392.1 MB, free: 3.375 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000225/0.3172, allocations: 97.28 kB / 392.2 MB, free: 3.301 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.287e-05/0.3173, allocations: 83.64 kB / 392.2 MB, free: 3.289 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004713/0.322, allocations: 2.911 MB / 395.2 MB, free: 1.824 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01701/0.339, allocations: 9.492 MB / 404.6 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005603/0.3447, allocations: 4.395 MB / 409 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/0.3462, allocations: 0.8364 MB / 409.9 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005064/0.3512, allocations: 3.165 MB / 413 MB, free: 1.047 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.993e-05/0.3513, allocations: 50.75 kB / 413.1 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 2.535e-06/0.3513, allocations: 6.562 kB / 413.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.009445/0.3608, allocations: 4.283 MB / 417.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/0.3609, allocations: 111.2 kB / 417.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002559/0.3635, allocations: 1.621 MB / 419.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001308/0.3636, allocations: 41.7 kB / 419.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009006/0.3645, allocations: 1.119 MB / 420.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003479/0.3649, allocations: 357.2 kB / 420.6 MB, free: 9.332 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.365, allocations: 113 kB / 420.7 MB, free: 9.219 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.3652, allocations: 365.9 kB / 421.1 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.3664, allocations: 0.6538 MB / 421.7 MB, free: 8.207 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001488/0.3679, allocations: 1.027 MB / 422.8 MB, free: 7.023 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002704/0.3706, allocations: 1.745 MB / 424.5 MB, free: 5.172 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/0.3707, allocations: 4 kB / 424.5 MB, free: 5.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003798/0.3745, allocations: 1.974 MB / 426.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.3745, allocations: 11.94 kB / 426.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/0.3745, allocations: 12 kB / 426.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003936/0.3749, allocations: 125.6 kB / 426.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.3763, allocations: 348.6 kB / 427 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/0.3795, allocations: 3.18 MB / 430.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.3808, allocations: 115.5 kB / 430.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.3809, allocations: 63.92 kB / 430.3 MB, free: 15.18 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.001697/0.3826, allocations: 0.83 MB / 431.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004054/0.383, allocations: 154.2 kB / 431.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002972/0.386, allocations: 1.424 MB / 432.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.386, allocations: 12 kB / 432.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/0.386, allocations: 4 kB / 432.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/0.3861, allocations: 7.969 kB / 432.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004511/0.3906, allocations: 2.468 MB / 435.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.006e-06/0.3906, allocations: 4 kB / 435.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00088/0.3915, allocations: 193.2 kB / 435.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007096/0.3922, allocations: 252.8 kB / 435.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.218e-05/0.3923, allocations: 35.97 kB / 435.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006253/0.3986, allocations: 5.791 MB / 441.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3986, allocations: 1.031 kB / 441.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004796/0.4034, allocations: 2.613 MB / 444.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00058/0.404, allocations: 255.2 kB / 444.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.4042, allocations: 27.98 kB / 444.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009449/0.4052, allocations: 107.8 kB / 444.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/0.4054, allocations: 93.98 kB / 444.6 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.786e-05/0.4055, allocations: 35.98 kB / 444.6 MB, free: 444 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001772/0.4073, allocations: 1.128 MB / 445.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4073, allocations: 0 / 445.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001675/0.409, allocations: 459.9 kB / 446.2 MB, free: 14.86 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.0003121/0.4093, allocations: 155.2 kB / 446.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003157/0.4125, allocations: 1.754 MB / 448.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4125, allocations: 1.75 kB / 448.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002004/0.4145, allocations: 1.19 MB / 449.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/0.4165, allocations: 260.8 kB / 449.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008702/0.4252, allocations: 5.85 MB / 455.4 MB, free: 5.613 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001941/0.4271, allocations: 2.109 MB / 457.5 MB, free: 3.469 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001412/0.4286, allocations: 451.5 kB / 457.9 MB, free: 3.023 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/0.4289, allocations: 103.4 kB / 458.1 MB, free: 2.922 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4289, allocations: 0 / 458.1 MB, free: 2.922 MB / 366.1 MB Notification: Performance of Templates: time 0.03751/0.4664, allocations: 18.34 MB / 476.4 MB, free: 0.8125 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/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