Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001758/0.001759, allocations: 108.3 kB / 17.06 MB, free: 6.023 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.001727/0.001727, allocations: 192 kB / 17.99 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000961/0.000961, allocations: 43.92 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.233, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005507/0.2386, allocations: 4.659 MB / 405.4 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002772/0.2414, allocations: 1.686 MB / 407.1 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004281/0.2418, allocations: 27.88 kB / 407.1 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006646/0.2425, allocations: 266.3 kB / 407.3 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.2442, allocations: 0.6958 MB / 408 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.2447, allocations: 227.4 kB / 408.3 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001908/0.2466, allocations: 1.88 MB / 410.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.2479, allocations: 1.288 MB / 411.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007665/0.2487, allocations: 0.7982 MB / 412.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009884/0.2497, allocations: 0.9807 MB / 413.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002064/0.2499, allocations: 184 kB / 413.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004995/0.2504, allocations: 311.9 kB / 413.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004284/0.2509, allocations: 0.5414 MB / 414.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000847/0.2517, allocations: 0.8905 MB / 415.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002105/0.2538, allocations: 2.571 MB / 417.7 MB, free: 7.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.2538, allocations: 0 / 417.7 MB, free: 7.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2539, allocations: 0 / 417.7 MB, free: 7.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.031e-05/0.2539, allocations: 0 / 417.7 MB, free: 7.801 MB / 334.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.003927/0.2578, allocations: 2.179 MB / 419.9 MB, free: 5.566 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.2579, allocations: 8.031 kB / 419.9 MB, free: 5.559 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/0.2596, allocations: 370.6 kB / 420.2 MB, free: 5.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.2613, allocations: 1.091 MB / 421.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.672e-05/0.2614, allocations: 107 kB / 421.4 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/0.2616, allocations: 136.1 kB / 421.6 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002864/0.2644, allocations: 1.894 MB / 423.5 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.2645, allocations: 0 / 423.5 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.2646, allocations: 56 kB / 423.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.416e-05/0.2647, allocations: 49.98 kB / 423.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/0.2673, allocations: 1.684 MB / 425.3 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007645/0.275, allocations: 5.493 MB / 430.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002843/0.2779, allocations: 2.903 MB / 433.7 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006885/0.2786, allocations: 0.4961 MB / 434.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002034/0.2806, allocations: 1.525 MB / 435.7 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.2806, allocations: 46.48 kB / 435.7 MB, free: 4.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 2.425e-06/0.2807, allocations: 0 / 435.7 MB, free: 4.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.002953/0.2836, allocations: 1.41 MB / 437.1 MB, free: 3.453 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.2837, allocations: 89.05 kB / 437.2 MB, free: 3.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.2848, allocations: 1.032 MB / 438.2 MB, free: 2.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.2849, allocations: 33.7 kB / 438.3 MB, free: 2.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004098/0.2853, allocations: 0.6853 MB / 439 MB, free: 1.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.2854, allocations: 181.3 kB / 439.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.2856, allocations: 130.2 kB / 439.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2858, allocations: 330 kB / 439.6 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/0.2863, allocations: 357 kB / 439.9 MB, free: 0.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006387/0.2869, allocations: 0.5132 MB / 440.5 MB, free: 16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.2881, allocations: 0.8789 MB / 441.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.2882, allocations: 4 kB / 441.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001491/0.2897, allocations: 1.005 MB / 442.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.2897, allocations: 8 kB / 442.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.2897, allocations: 4 kB / 442.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.2897, allocations: 19.88 kB / 442.4 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007157/0.2905, allocations: 179.8 kB / 442.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.2905, allocations: 12.12 kB / 442.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004567/0.2909, allocations: 91.23 kB / 442.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.771e-05/0.291, allocations: 28 kB / 442.7 MB, free: 13.7 MB / 366.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.0007308/0.2917, allocations: 0.517 MB / 443.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.2919, allocations: 90.97 kB / 443.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.2932, allocations: 0.6938 MB / 444 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.2932, allocations: 4 kB / 444 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.2932, allocations: 4 kB / 444 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.2932, allocations: 7.922 kB / 444 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/0.2954, allocations: 1.649 MB / 445.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2954, allocations: 3.938 kB / 445.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000435/0.2959, allocations: 91.88 kB / 445.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004177/0.2963, allocations: 156.8 kB / 445.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.647e-05/0.2964, allocations: 19.98 kB / 445.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002954/0.2993, allocations: 2.843 MB / 448.8 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.2993, allocations: 4.031 kB / 448.8 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.3014, allocations: 1.476 MB / 450.2 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.3016, allocations: 191.9 kB / 450.4 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.657e-05/0.3017, allocations: 19.98 kB / 450.4 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005071/0.3022, allocations: 59.88 kB / 450.5 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.3023, allocations: 51.92 kB / 450.5 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.223e-05/0.3024, allocations: 23.92 kB / 450.6 MB, free: 5.527 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008413/0.3032, allocations: 0.7293 MB / 451.3 MB, free: 4.805 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3032, allocations: 0 / 451.3 MB, free: 4.805 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009009/0.3041, allocations: 358.4 kB / 451.7 MB, free: 4.453 MB / 366.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.0002238/0.3044, allocations: 143.4 kB / 451.8 MB, free: 4.301 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.3056, allocations: 0.7751 MB / 452.6 MB, free: 3.527 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3056, allocations: 4 kB / 452.6 MB, free: 3.523 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009692/0.3066, allocations: 0.5947 MB / 453.2 MB, free: 2.918 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000867/0.3075, allocations: 181.3 kB / 453.3 MB, free: 2.742 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/0.3114, allocations: 2.763 MB / 456.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009635/0.3124, allocations: 1.495 MB / 457.6 MB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000503/0.3129, allocations: 238.7 kB / 457.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.313, allocations: 59.42 kB / 457.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3131, allocations: 0 / 457.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of Templates: time 0.01906/0.3321, allocations: 11.82 MB / 469.7 MB, free: 2.426 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches