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.001121/0.001126, allocations: 116.2 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001125/0.001125, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.64 kB / 306.4 MB, free: 0.9336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09806/0.0994, allocations: 50.53 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008087/0.1075, allocations: 6.61 MB / 363.6 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004203/0.1118, allocations: 2.227 MB / 365.8 MB, free: 5.527 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009221/0.1127, allocations: 39.81 kB / 365.9 MB, free: 5.488 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.1138, allocations: 314.3 kB / 366.2 MB, free: 5.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002365/0.1162, allocations: 0.7695 MB / 366.9 MB, free: 4.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009355/0.1171, allocations: 307.6 kB / 367.2 MB, free: 4.109 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003652/0.1208, allocations: 3.18 MB / 370.4 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1503/0.2711, allocations: 2.002 MB / 372.4 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.2729, allocations: 1.306 MB / 373.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/0.2747, allocations: 1.654 MB / 375.4 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004407/0.2751, allocations: 297.2 kB / 375.7 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008286/0.276, allocations: 431 kB / 376.1 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006874/0.2766, allocations: 0.8518 MB / 376.9 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.278, allocations: 1.465 MB / 378.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003485/0.2815, allocations: 4.074 MB / 382.5 MB, free: 7.594 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2815, allocations: 0 / 382.5 MB, free: 7.594 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2815, allocations: 0 / 382.5 MB, free: 7.594 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.323e-05/0.2816, allocations: 0 / 382.5 MB, free: 7.594 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.007096/0.2887, allocations: 3.487 MB / 386 MB, free: 5.805 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2887, allocations: 17.06 kB / 386 MB, free: 5.797 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004008/0.2927, allocations: 0.759 MB / 386.7 MB, free: 5.609 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/0.2952, allocations: 1.661 MB / 388.4 MB, free: 4.793 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.2953, allocations: 176.7 kB / 388.6 MB, free: 4.711 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003358/0.2957, allocations: 234.8 kB / 388.8 MB, free: 4.629 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004801/0.3005, allocations: 3.199 MB / 392 MB, free: 2.781 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.25e-05/0.3005, allocations: 0 / 392 MB, free: 2.781 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000212/0.3007, allocations: 91.97 kB / 392.1 MB, free: 2.711 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.314e-05/0.3008, allocations: 68.72 kB / 392.2 MB, free: 2.707 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003964/0.3048, allocations: 2.865 MB / 395 MB, free: 1.254 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01383/0.3186, allocations: 9.243 MB / 404.3 MB, free: 9.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004744/0.3234, allocations: 4.374 MB / 408.6 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/0.3246, allocations: 0.8158 MB / 409.5 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004194/0.3288, allocations: 3.152 MB / 412.6 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.3289, allocations: 46.75 kB / 412.7 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 2.575e-06/0.3289, allocations: 0 / 412.7 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.007722/0.3366, allocations: 4.209 MB / 416.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.3367, allocations: 117.9 kB / 417 MB, free: 12.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/0.3388, allocations: 1.614 MB / 418.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.339, allocations: 45.7 kB / 418.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00072/0.3397, allocations: 1.116 MB / 419.7 MB, free: 9.469 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/0.34, allocations: 365.3 kB / 420.1 MB, free: 9.113 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003439/0.3403, allocations: 234.8 kB / 420.3 MB, free: 8.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3405, allocations: 353.9 kB / 420.7 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009828/0.3415, allocations: 0.6388 MB / 421.3 MB, free: 7.891 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.3427, allocations: 1.009 MB / 422.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002213/0.3449, allocations: 1.701 MB / 424 MB, free: 4.914 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.3449, allocations: 4 kB / 424 MB, free: 4.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003171/0.3481, allocations: 1.941 MB / 426 MB, free: 3.031 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.3481, allocations: 8 kB / 426 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.3481, allocations: 12 kB / 426 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003493/0.3485, allocations: 137.5 kB / 426.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.3497, allocations: 330.6 kB / 426.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002708/0.3524, allocations: 3.424 MB / 429.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.3535, allocations: 103.5 kB / 430 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.095e-05/0.3536, allocations: 55.98 kB / 430 MB, free: 14.73 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.001339/0.355, allocations: 0.8354 MB / 430.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002665/0.3552, allocations: 150.4 kB / 431 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/0.3576, allocations: 1.391 MB / 432.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.3576, allocations: 12 kB / 432.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.3576, allocations: 8 kB / 432.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.3576, allocations: 15.14 kB / 432.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00349/0.3611, allocations: 2.453 MB / 434.9 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3611, allocations: 0 / 434.9 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007598/0.3619, allocations: 183 kB / 435.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005842/0.3625, allocations: 262.3 kB / 435.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.56e-05/0.3626, allocations: 35.97 kB / 435.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005061/0.3677, allocations: 6.249 MB / 441.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3677, allocations: 4.031 kB / 441.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003526/0.3712, allocations: 2.546 MB / 444.2 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004507/0.3717, allocations: 263.1 kB / 444.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/0.3719, allocations: 31.94 kB / 444.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008134/0.3727, allocations: 91.83 kB / 444.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/0.3729, allocations: 95.77 kB / 444.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.072e-05/0.373, allocations: 35.98 kB / 444.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001445/0.3744, allocations: 1.132 MB / 445.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3744, allocations: 0 / 445.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001454/0.3759, allocations: 444 kB / 446.2 MB, free: 14.05 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.0002878/0.3762, allocations: 168.4 kB / 446.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00291/0.3791, allocations: 1.891 MB / 448.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3791, allocations: 0 / 448.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001769/0.3809, allocations: 1.176 MB / 449.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.3823, allocations: 279.7 kB / 449.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007442/0.3898, allocations: 5.716 MB / 455.5 MB, free: 4.809 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/0.3914, allocations: 2.098 MB / 457.6 MB, free: 2.672 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001182/0.3925, allocations: 459.5 kB / 458 MB, free: 2.219 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/0.3928, allocations: 103.4 kB / 458.1 MB, free: 2.117 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3928, allocations: 0 / 458.1 MB, free: 2.117 MB / 366.1 MB Notification: Performance of Templates: time 0.03098/0.4238, allocations: 19.35 MB / 477.5 MB, free: 15 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.0.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