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.0007953/0.0007952, allocations: 94.61 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009712/0.0009714, allocations: 204.1 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.7 MB / 247.5 MB, free: 9.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002384/0.0002385, allocations: 4 kB / 308.4 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1112, allocations: 51.53 MB / 359.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007111/0.1184, allocations: 6.12 MB / 366 MB, free: 6.926 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004712/0.1231, allocations: 2.215 MB / 368.2 MB, free: 4.703 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.1244, allocations: 43.81 kB / 368.3 MB, free: 4.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.1256, allocations: 310.3 kB / 368.6 MB, free: 4.355 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002851/0.1284, allocations: 0.7701 MB / 369.4 MB, free: 3.582 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.1296, allocations: 331.3 kB / 369.7 MB, free: 3.262 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2014/0.331, allocations: 3.551 MB / 373.2 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003128/0.3342, allocations: 1.656 MB / 374.9 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00213/0.3364, allocations: 0.9846 MB / 375.9 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003056/0.3394, allocations: 1.402 MB / 377.3 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008904/0.3404, allocations: 136.5 kB / 377.4 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.3417, allocations: 270.4 kB / 377.7 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009956/0.3427, allocations: 0.6517 MB / 378.3 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002732/0.3455, allocations: 1.27 MB / 379.6 MB, free: 8.047 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004972/0.3504, allocations: 3.25 MB / 382.9 MB, free: 7.832 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3505, allocations: 4 kB / 382.9 MB, free: 7.828 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.3505, allocations: 0 / 382.9 MB, free: 7.828 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001639/0.3507, allocations: 0 / 382.9 MB, free: 7.828 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.01019/0.3609, allocations: 3.04 MB / 385.9 MB, free: 6.562 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.3609, allocations: 9.094 kB / 385.9 MB, free: 6.562 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005483/0.3664, allocations: 0.7848 MB / 386.7 MB, free: 6.414 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004308/0.3708, allocations: 1.669 MB / 388.4 MB, free: 5.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.371, allocations: 170.9 kB / 388.5 MB, free: 5.734 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008868/0.3719, allocations: 234.7 kB / 388.8 MB, free: 5.652 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007254/0.3792, allocations: 3.222 MB / 392 MB, free: 3.781 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.346e-05/0.3793, allocations: 0 / 392 MB, free: 3.781 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002567/0.3795, allocations: 91.25 kB / 392.1 MB, free: 3.711 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.523e-05/0.3796, allocations: 77.11 kB / 392.1 MB, free: 3.699 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005125/0.3848, allocations: 2.896 MB / 395 MB, free: 2.246 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01614/0.4009, allocations: 9.316 MB / 404.4 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004956/0.4059, allocations: 4.389 MB / 408.7 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/0.4073, allocations: 0.8347 MB / 409.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004726/0.412, allocations: 3.155 MB / 412.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.4121, allocations: 50.88 kB / 412.8 MB, free: 1.984 MB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 2.705e-06/0.4121, allocations: 0 / 412.8 MB, free: 1.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.008411/0.4205, allocations: 4.281 MB / 417.1 MB, free: 13.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.4206, allocations: 115.2 kB / 417.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002277/0.4229, allocations: 1.621 MB / 418.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.423, allocations: 44.89 kB / 418.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006986/0.4237, allocations: 1.118 MB / 420 MB, free: 10.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003077/0.4241, allocations: 356.8 kB / 420.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.4242, allocations: 109.7 kB / 420.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4244, allocations: 357.9 kB / 420.8 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.4254, allocations: 0.6583 MB / 421.4 MB, free: 9.207 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.4267, allocations: 1.026 MB / 422.4 MB, free: 8.027 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002351/0.429, allocations: 1.727 MB / 424.2 MB, free: 6.188 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.4291, allocations: 4 kB / 424.2 MB, free: 6.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003439/0.4325, allocations: 1.984 MB / 426.2 MB, free: 4.266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.4326, allocations: 12 kB / 426.2 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.4326, allocations: 12.28 kB / 426.2 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003705/0.433, allocations: 129.8 kB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.4342, allocations: 340.2 kB / 426.6 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002788/0.437, allocations: 3.19 MB / 429.8 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.4384, allocations: 111.6 kB / 429.9 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.4385, allocations: 59.84 kB / 430 MB, free: 192 kB / 334.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.00175/0.4402, allocations: 0.8336 MB / 430.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004017/0.4407, allocations: 154.2 kB / 431 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002762/0.4434, allocations: 1.425 MB / 432.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.4435, allocations: 8 kB / 432.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.4435, allocations: 4 kB / 432.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.4435, allocations: 11.98 kB / 432.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00411/0.4476, allocations: 2.459 MB / 434.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.4476, allocations: 0 / 434.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008236/0.4485, allocations: 190.8 kB / 435.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006314/0.4491, allocations: 257 kB / 435.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.328e-05/0.4492, allocations: 39.97 kB / 435.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005618/0.4548, allocations: 5.789 MB / 441.2 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.4549, allocations: 4.031 kB / 441.2 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00416/0.459, allocations: 2.603 MB / 443.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006951/0.4597, allocations: 255.2 kB / 444 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.4599, allocations: 23.98 kB / 444 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009374/0.4609, allocations: 107.9 kB / 444.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/0.4611, allocations: 102.8 kB / 444.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.509e-05/0.4612, allocations: 24 kB / 444.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001665/0.4629, allocations: 1.139 MB / 445.4 MB, free: 332 kB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4629, allocations: 0 / 445.4 MB, free: 332 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.001661/0.4645, allocations: 444 kB / 445.8 MB, free: 15.89 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.0003197/0.4649, allocations: 166.1 kB / 446 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002775/0.4677, allocations: 1.744 MB / 447.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.4677, allocations: 0 / 447.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001831/0.4695, allocations: 1.186 MB / 448.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.4715, allocations: 272.7 kB / 449.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007986/0.4795, allocations: 5.813 MB / 455 MB, free: 6.672 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/0.4811, allocations: 2.046 MB / 457.1 MB, free: 4.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005543/0.4817, allocations: 107.4 kB / 457.2 MB, free: 4.484 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4817, allocations: 0 / 457.2 MB, free: 4.484 MB / 366.1 MB Notification: Performance of Templates: time 0.06297/0.5447, allocations: 56.84 MB / 0.502 GB, free: 11.72 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