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.001291/0.001291, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 58.61 kB / 307 MB, free: 0.5781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09545/0.09731, allocations: 50.53 MB / 357.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008525/0.1059, allocations: 6.657 MB / 364.2 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003916/0.1098, allocations: 2.266 MB / 366.4 MB, free: 5.074 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004065/0.1102, allocations: 43.81 kB / 366.5 MB, free: 5.031 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007647/0.111, allocations: 365.5 kB / 366.8 MB, free: 4.672 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.1128, allocations: 0.8394 MB / 367.7 MB, free: 3.828 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007161/0.1135, allocations: 366.1 kB / 368 MB, free: 3.477 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003578/0.1171, allocations: 3.18 MB / 371.2 MB, free: 288 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1596/0.2768, allocations: 2 MB / 373.2 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002464/0.2793, allocations: 1.3 MB / 374.5 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003491/0.2828, allocations: 1.621 MB / 376.1 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007264/0.2835, allocations: 295.5 kB / 376.4 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.2849, allocations: 433.8 kB / 376.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009028/0.2858, allocations: 0.8493 MB / 377.7 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001755/0.2875, allocations: 1.467 MB / 379.2 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004624/0.2922, allocations: 4.088 MB / 383.3 MB, free: 7.148 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2922, allocations: 0 / 383.3 MB, free: 7.148 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2922, allocations: 1.062 kB / 383.3 MB, free: 7.148 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001128/0.2923, allocations: 0 / 383.3 MB, free: 7.148 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.009807/0.3021, allocations: 3.488 MB / 386.8 MB, free: 5.359 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3022, allocations: 10.12 kB / 386.8 MB, free: 5.359 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004252/0.3065, allocations: 0.7435 MB / 387.5 MB, free: 5.172 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003199/0.3097, allocations: 1.673 MB / 389.2 MB, free: 4.348 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.3098, allocations: 169.1 kB / 389.3 MB, free: 4.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000383/0.3102, allocations: 232.1 kB / 389.6 MB, free: 4.191 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005419/0.3156, allocations: 3.224 MB / 392.8 MB, free: 2.387 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.738e-05/0.3157, allocations: 3.906 kB / 392.8 MB, free: 2.387 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002393/0.3159, allocations: 95.03 kB / 392.9 MB, free: 2.312 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.3161, allocations: 76.25 kB / 393 MB, free: 2.305 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004521/0.3206, allocations: 2.878 MB / 395.8 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01532/0.3359, allocations: 9.418 MB / 405.3 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005367/0.3413, allocations: 4.376 MB / 409.6 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.3427, allocations: 0.8137 MB / 410.4 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005058/0.3477, allocations: 3.161 MB / 413.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.296e-05/0.3478, allocations: 46.75 kB / 413.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 3.216e-06/0.3478, allocations: 0 / 413.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.008695/0.3565, allocations: 4.21 MB / 417.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.981e-05/0.3566, allocations: 119.1 kB / 418 MB, free: 11.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002604/0.3593, allocations: 1.618 MB / 419.6 MB, free: 9.691 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.669e-05/0.3594, allocations: 48.27 kB / 419.6 MB, free: 9.641 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008865/0.3603, allocations: 1.114 MB / 420.8 MB, free: 8.516 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/0.3606, allocations: 364 kB / 421.1 MB, free: 8.164 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003682/0.361, allocations: 238.7 kB / 421.3 MB, free: 7.926 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.3612, allocations: 357.9 kB / 421.7 MB, free: 7.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.3622, allocations: 0.6388 MB / 422.3 MB, free: 6.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.3636, allocations: 1.009 MB / 423.3 MB, free: 5.766 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002631/0.3663, allocations: 1.711 MB / 425.1 MB, free: 3.949 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/0.3663, allocations: 4 kB / 425.1 MB, free: 3.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003561/0.3699, allocations: 1.936 MB / 427 MB, free: 2.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.3699, allocations: 11.94 kB / 427 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.3699, allocations: 12 kB / 427 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000384/0.3703, allocations: 121.6 kB / 427.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.3716, allocations: 341.2 kB / 427.5 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003283/0.3749, allocations: 3.429 MB / 430.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.3762, allocations: 99.61 kB / 431 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.3763, allocations: 52 kB / 431 MB, free: 13.77 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.001515/0.3778, allocations: 0.8385 MB / 431.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000323/0.3781, allocations: 154.1 kB / 432 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002709/0.3808, allocations: 1.395 MB / 433.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.3809, allocations: 8.188 kB / 433.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.3809, allocations: 11.94 kB / 433.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/0.3809, allocations: 11.97 kB / 433.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004024/0.3849, allocations: 2.45 MB / 435.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.385, allocations: 3.938 kB / 435.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008471/0.3858, allocations: 183.1 kB / 436.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006627/0.3865, allocations: 262.3 kB / 436.4 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.838e-05/0.3866, allocations: 31.98 kB / 436.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006606/0.3932, allocations: 6.256 MB / 442.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.3932, allocations: 7.969 kB / 442.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004306/0.3975, allocations: 2.553 MB / 445.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000505/0.398, allocations: 251.2 kB / 445.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/0.3983, allocations: 31.92 kB / 445.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009073/0.3992, allocations: 83.91 kB / 445.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002412/0.3994, allocations: 103.6 kB / 445.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.52e-05/0.3995, allocations: 31.97 kB / 445.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001705/0.4012, allocations: 1.132 MB / 446.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4012, allocations: 4 kB / 446.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001608/0.4028, allocations: 448 kB / 447.3 MB, free: 13.07 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.000323/0.4032, allocations: 159 kB / 447.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003292/0.4065, allocations: 1.912 MB / 449.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.4065, allocations: 1.75 kB / 449.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001918/0.4084, allocations: 1.179 MB / 450.5 MB, free: 9.832 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.4099, allocations: 285.7 kB / 450.8 MB, free: 9.551 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007987/0.4179, allocations: 4.708 MB / 455.5 MB, free: 4.812 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00207/0.42, allocations: 2.109 MB / 457.6 MB, free: 2.668 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001429/0.4215, allocations: 459.5 kB / 458.1 MB, free: 2.215 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/0.4218, allocations: 103.4 kB / 458.2 MB, free: 2.113 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4218, allocations: 0 / 458.2 MB, free: 2.113 MB / 366.1 MB Notification: Performance of Templates: time 0.03768/0.4595, allocations: 19.48 MB / 477.6 MB, free: 14.88 MB / 398.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