Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 105.4 kB / 18.4 MB, free: 4.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 189.2 kB / 19.33 MB, free: 3.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 55.92 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09291/0.0941, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.2105/0.3047, allocations: 4.605 MB / 380.4 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003063/0.3078, allocations: 1.737 MB / 382.2 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000496/0.3083, allocations: 24.41 kB / 382.2 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006575/0.309, allocations: 259.8 kB / 382.4 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.3108, allocations: 0.6954 MB / 383.1 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005882/0.3114, allocations: 235.8 kB / 383.4 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002324/0.3137, allocations: 1.885 MB / 385.2 MB, free: 8.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.3151, allocations: 1.258 MB / 386.5 MB, free: 8.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.3163, allocations: 0.7961 MB / 387.3 MB, free: 8 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.3176, allocations: 0.9806 MB / 388.3 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002698/0.3179, allocations: 186 kB / 388.5 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007453/0.3187, allocations: 308.3 kB / 388.8 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004952/0.3192, allocations: 0.5282 MB / 389.3 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009442/0.3201, allocations: 0.9001 MB / 390.2 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002968/0.3231, allocations: 2.561 MB / 392.7 MB, free: 5.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3231, allocations: 0 / 392.7 MB, free: 5.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3231, allocations: 4 kB / 392.8 MB, free: 5.816 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.596e-05/0.3232, allocations: 0 / 392.8 MB, free: 5.816 MB / 318.1 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.004734/0.3279, allocations: 2.171 MB / 394.9 MB, free: 4.605 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.328, allocations: 9.344 kB / 394.9 MB, free: 4.605 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/0.3297, allocations: 365.5 kB / 395.3 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.3315, allocations: 1.056 MB / 396.3 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.05e-05/0.3315, allocations: 99.67 kB / 396.4 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.3317, allocations: 133.4 kB / 396.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002945/0.3347, allocations: 1.889 MB / 398.5 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.3347, allocations: 1.375 kB / 398.5 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.3348, allocations: 57.11 kB / 398.5 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.043e-05/0.3349, allocations: 46.45 kB / 398.6 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002627/0.3375, allocations: 1.684 MB / 400.2 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007813/0.3454, allocations: 5.522 MB / 405.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002907/0.3483, allocations: 2.912 MB / 408.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007495/0.3491, allocations: 0.4984 MB / 409.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002305/0.3514, allocations: 1.53 MB / 410.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.3514, allocations: 49.36 kB / 410.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.024e-06/0.3514, allocations: 0 / 410.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.002942/0.3544, allocations: 1.405 MB / 412.2 MB, free: 9.293 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.3545, allocations: 86.55 kB / 412.2 MB, free: 9.195 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.3558, allocations: 1.033 MB / 413.3 MB, free: 8.633 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.984e-05/0.3559, allocations: 37.11 kB / 413.3 MB, free: 8.594 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/0.3564, allocations: 0.6731 MB / 414 MB, free: 8.004 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.3565, allocations: 192.5 kB / 414.2 MB, free: 7.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/0.3568, allocations: 127.6 kB / 414.3 MB, free: 7.762 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3569, allocations: 330.6 kB / 414.6 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005383/0.3574, allocations: 363.8 kB / 415 MB, free: 7.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006625/0.3581, allocations: 0.5093 MB / 415.5 MB, free: 6.668 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.3593, allocations: 0.8776 MB / 416.4 MB, free: 5.727 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3593, allocations: 4 kB / 416.4 MB, free: 5.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001572/0.3609, allocations: 1.004 MB / 417.4 MB, free: 4.715 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.3609, allocations: 8 kB / 417.4 MB, free: 4.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.361, allocations: 4 kB / 417.4 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.361, allocations: 11.94 kB / 417.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006934/0.3617, allocations: 179.8 kB / 417.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.3617, allocations: 11.94 kB / 417.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005646/0.3623, allocations: 95.3 kB / 417.7 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-05/0.3623, allocations: 24 kB / 417.7 MB, free: 4.387 MB / 334.1 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.0007843/0.3631, allocations: 0.5212 MB / 418.2 MB, free: 3.855 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.3633, allocations: 86.97 kB / 418.3 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.3645, allocations: 0.6862 MB / 419 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.3645, allocations: 8 kB / 419 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.3645, allocations: 0 / 419 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/0.3646, allocations: 11.92 kB / 419 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/0.367, allocations: 1.648 MB / 420.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.367, allocations: 0 / 420.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004383/0.3674, allocations: 107.8 kB / 420.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004105/0.3679, allocations: 166.3 kB / 420.9 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.338e-05/0.3679, allocations: 20.27 kB / 421 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002999/0.3709, allocations: 2.833 MB / 423.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3709, allocations: 0 / 423.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.3731, allocations: 1.48 MB / 425.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002995/0.3734, allocations: 191.9 kB / 425.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.3735, allocations: 16 kB / 425.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004999/0.374, allocations: 59.92 kB / 425.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.3742, allocations: 59.86 kB / 425.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/0.3742, allocations: 16 kB / 425.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009659/0.3752, allocations: 0.737 MB / 426.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3752, allocations: 0 / 426.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001079/0.3763, allocations: 358.4 kB / 426.7 MB, free: 11.14 MB / 350.1 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.0002828/0.3766, allocations: 134.4 kB / 426.8 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.3779, allocations: 0.7802 MB / 427.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3779, allocations: 0 / 427.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.3789, allocations: 0.5911 MB / 428.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009682/0.3799, allocations: 181.5 kB / 428.4 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004119/0.384, allocations: 2.762 MB / 431.1 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.385, allocations: 1.465 MB / 432.6 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/0.3853, allocations: 67.42 kB / 432.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3853, allocations: 0 / 432.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of Templates: time 0.02633/0.4116, allocations: 19.93 MB / 452.6 MB, free: 1.102 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches