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.001376/0.001376, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001395/0.001395, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 246.9 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 62.95 kB / 306.9 MB, free: 1.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08089/0.08207, allocations: 50.53 MB / 357.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007131/0.08924, allocations: 6.603 MB / 364 MB, free: 7.871 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003769/0.09304, allocations: 2.25 MB / 366.3 MB, free: 5.613 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008019/0.09387, allocations: 43.81 kB / 366.3 MB, free: 5.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008711/0.09479, allocations: 318.3 kB / 366.6 MB, free: 5.258 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.09677, allocations: 0.7856 MB / 367.4 MB, free: 4.469 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007347/0.09751, allocations: 315.4 kB / 367.7 MB, free: 4.164 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003429/0.101, allocations: 3.558 MB / 371.3 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1466/0.2476, allocations: 1.669 MB / 373 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.2494, allocations: 1.11 MB / 374.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00239/0.2518, allocations: 1.561 MB / 375.6 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007516/0.2526, allocations: 195.4 kB / 375.8 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.2539, allocations: 326.2 kB / 376.1 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009852/0.2549, allocations: 0.7419 MB / 376.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00211/0.257, allocations: 1.346 MB / 378.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003527/0.2605, allocations: 3.323 MB / 381.6 MB, free: 8.398 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.2605, allocations: 0 / 381.6 MB, free: 8.398 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.2606, allocations: 0.7031 kB / 381.6 MB, free: 8.398 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.523e-05/0.2607, allocations: 1.688 kB / 381.6 MB, free: 8.398 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.007903/0.2686, allocations: 3.481 MB / 385 MB, free: 6.613 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.2686, allocations: 13.47 kB / 385.1 MB, free: 6.609 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004212/0.2728, allocations: 0.7645 MB / 385.8 MB, free: 6.418 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002783/0.2756, allocations: 1.664 MB / 387.5 MB, free: 5.598 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.2758, allocations: 169.2 kB / 387.6 MB, free: 5.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003613/0.2761, allocations: 231.3 kB / 387.9 MB, free: 5.441 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005157/0.2813, allocations: 3.207 MB / 391.1 MB, free: 3.742 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.938e-05/0.2814, allocations: 0 / 391.1 MB, free: 3.742 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002151/0.2816, allocations: 95.28 kB / 391.2 MB, free: 3.668 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-05/0.2817, allocations: 72.73 kB / 391.2 MB, free: 3.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004241/0.2859, allocations: 2.862 MB / 394.1 MB, free: 2.207 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01427/0.3002, allocations: 9.238 MB / 403.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004328/0.3046, allocations: 4.378 MB / 407.7 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.3057, allocations: 0.805 MB / 408.5 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004065/0.3098, allocations: 3.16 MB / 411.7 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.3099, allocations: 49.45 kB / 411.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 2.575e-06/0.3099, allocations: 4 kB / 411.7 MB, free: 2.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.007559/0.3174, allocations: 4.202 MB / 415.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.3175, allocations: 121.9 kB / 416.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002029/0.3196, allocations: 1.618 MB / 417.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.297e-05/0.3197, allocations: 45.7 kB / 417.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006803/0.3203, allocations: 1.114 MB / 418.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002606/0.3206, allocations: 353.8 kB / 419.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003468/0.321, allocations: 238.8 kB / 419.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3211, allocations: 361.9 kB / 419.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009996/0.3221, allocations: 0.6349 MB / 420.4 MB, free: 9.566 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.3233, allocations: 1.011 MB / 421.4 MB, free: 8.398 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002218/0.3255, allocations: 1.693 MB / 423.1 MB, free: 6.594 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.3256, allocations: 4 kB / 423.1 MB, free: 6.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00313/0.3287, allocations: 1.944 MB / 425.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.3287, allocations: 8 kB / 425.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.3288, allocations: 12 kB / 425.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003436/0.3291, allocations: 130.1 kB / 425.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.3303, allocations: 336.2 kB / 425.5 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002571/0.3329, allocations: 3.183 MB / 428.7 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.334, allocations: 91.62 kB / 428.8 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.7e-05/0.3341, allocations: 59.98 kB / 428.9 MB, free: 0.6719 MB / 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.001306/0.3355, allocations: 0.8372 MB / 429.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002769/0.3357, allocations: 158.1 kB / 429.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002371/0.3381, allocations: 1.396 MB / 431.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/0.3381, allocations: 12 kB / 431.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.3381, allocations: 4 kB / 431.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.3382, allocations: 7.969 kB / 431.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003503/0.3417, allocations: 2.447 MB / 433.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.3417, allocations: 4 kB / 433.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008166/0.3425, allocations: 187.8 kB / 433.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006285/0.3432, allocations: 255.9 kB / 434.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.36e-05/0.3432, allocations: 27.98 kB / 434.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005087/0.3483, allocations: 5.795 MB / 440 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3484, allocations: 4.031 kB / 440 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003717/0.3521, allocations: 2.545 MB / 442.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004432/0.3525, allocations: 255.2 kB / 442.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/0.3527, allocations: 27.98 kB / 442.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008291/0.3536, allocations: 95.89 kB / 442.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002214/0.3538, allocations: 92.23 kB / 443 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-05/0.3539, allocations: 35.98 kB / 443 MB, free: 2.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001496/0.3554, allocations: 1.132 MB / 444.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.264e-06/0.3554, allocations: 0 / 444.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001532/0.3569, allocations: 450.6 kB / 444.6 MB, free: 492 kB / 350.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.0002852/0.3572, allocations: 164 kB / 444.8 MB, free: 328 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002669/0.3599, allocations: 1.707 MB / 446.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3599, allocations: 0 / 446.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001719/0.3617, allocations: 1.171 MB / 447.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.3631, allocations: 262.8 kB / 447.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007342/0.3705, allocations: 5.679 MB / 453.6 MB, free: 7.469 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001553/0.3721, allocations: 2.042 MB / 455.6 MB, free: 5.391 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005372/0.3726, allocations: 111.4 kB / 455.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3726, allocations: 0 / 455.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of Templates: time 0.05781/0.4304, allocations: 57.16 MB / 0.5009 GB, free: 12.19 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