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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001168/0.001168, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009527/0.0009527, allocations: 104.5 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009376/0.0009377, allocations: 59.89 kB / 356.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1928, allocations: 50.43 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.00519/0.198, allocations: 6.608 MB / 413.7 MB, free: 21.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.2008, allocations: 2.198 MB / 415.9 MB, free: 18.97 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004097/0.2012, allocations: 43.75 kB / 415.9 MB, free: 18.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005809/0.2018, allocations: 314.3 kB / 416.2 MB, free: 18.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.2033, allocations: 0.7778 MB / 417 MB, free: 17.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.2038, allocations: 298.4 kB / 417.3 MB, free: 17.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002245/0.206, allocations: 3.57 MB / 420.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.2073, allocations: 1.674 MB / 422.5 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008468/0.2082, allocations: 1.109 MB / 423.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.2093, allocations: 1.556 MB / 425.2 MB, free: 9.562 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000227/0.2095, allocations: 196 kB / 425.4 MB, free: 9.371 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005679/0.2101, allocations: 335.7 kB / 425.7 MB, free: 9.043 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004193/0.2105, allocations: 0.7281 MB / 426.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008571/0.2114, allocations: 1.337 MB / 427.8 MB, free: 6.969 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001981/0.2134, allocations: 3.966 MB / 431.7 MB, free: 2.992 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2134, allocations: 0 / 431.7 MB, free: 2.992 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2134, allocations: 0 / 431.7 MB, free: 2.992 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.796e-05/0.2134, allocations: 0 / 431.7 MB, free: 2.992 MB / 298.7 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.006279/0.2197, allocations: 3.455 MB / 435.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.2198, allocations: 8.031 kB / 435.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003874/0.2236, allocations: 0.7625 MB / 436 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002982/0.2266, allocations: 1.613 MB / 437.6 MB, free: 13.03 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.2268, allocations: 176.9 kB / 437.7 MB, free: 12.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002994/0.2271, allocations: 232 kB / 438 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004627/0.2317, allocations: 3.199 MB / 441.2 MB, free: 9.363 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/0.2318, allocations: 0 / 441.2 MB, free: 9.363 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002004/0.232, allocations: 99.94 kB / 441.3 MB, free: 9.266 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.025e-05/0.232, allocations: 70 kB / 441.3 MB, free: 9.195 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004214/0.2363, allocations: 2.859 MB / 444.2 MB, free: 6.336 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01339/0.2497, allocations: 9.222 MB / 453.4 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004557/0.2542, allocations: 4.391 MB / 457.8 MB, free: 7.766 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.2554, allocations: 0.7998 MB / 458.6 MB, free: 6.961 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004011/0.2594, allocations: 3.161 MB / 461.8 MB, free: 3.543 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.2594, allocations: 54.75 kB / 461.8 MB, free: 3.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 2.184e-06/0.2594, allocations: 0 / 461.8 MB, free: 3.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=100): time 0.007002/0.2665, allocations: 4.189 MB / 466 MB, free: 15.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.2665, allocations: 111.2 kB / 466.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/0.2683, allocations: 1.588 MB / 467.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.082e-05/0.2684, allocations: 45.7 kB / 467.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000627/0.269, allocations: 1.114 MB / 468.9 MB, free: 12.28 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.2693, allocations: 354.9 kB / 469.2 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003379/0.2696, allocations: 242.8 kB / 469.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2698, allocations: 357.9 kB / 469.8 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009693/0.2707, allocations: 0.631 MB / 470.4 MB, free: 10.7 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.2719, allocations: 1.012 MB / 471.4 MB, free: 9.523 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002126/0.274, allocations: 1.704 MB / 473.1 MB, free: 7.668 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.274, allocations: 4 kB / 473.1 MB, free: 7.664 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002929/0.277, allocations: 1.934 MB / 475.1 MB, free: 5.715 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.277, allocations: 8 kB / 475.1 MB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.277, allocations: 15.94 kB / 475.1 MB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003368/0.2774, allocations: 125.6 kB / 475.2 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.2786, allocations: 335.6 kB / 475.6 MB, free: 5.234 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002576/0.2812, allocations: 3.186 MB / 478.7 MB, free: 1.773 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009243/0.2821, allocations: 99.53 kB / 478.8 MB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.272e-05/0.2822, allocations: 52 kB / 478.9 MB, free: 1.625 MB / 346.7 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.001112/0.2833, allocations: 0.8289 MB / 479.7 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.2836, allocations: 150.3 kB / 479.9 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002343/0.2859, allocations: 1.393 MB / 481.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.2859, allocations: 12 kB / 481.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.2859, allocations: 4.25 kB / 481.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.286, allocations: 11.92 kB / 481.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003467/0.2894, allocations: 2.436 MB / 483.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.2895, allocations: 4.094 kB / 483.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007814/0.2902, allocations: 183.8 kB / 483.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005962/0.2908, allocations: 266.2 kB / 484.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.917e-05/0.2909, allocations: 31.98 kB / 484.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004781/0.2957, allocations: 5.776 MB / 490 MB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2957, allocations: 0 / 490 MB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01808/0.3138, allocations: 15.05 MB / 0.4932 GB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003494/0.3142, allocations: 251.2 kB / 0.4934 GB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.3144, allocations: 23.98 kB / 0.4935 GB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008133/0.3152, allocations: 99.91 kB / 0.4935 GB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/0.3154, allocations: 92.28 kB / 0.4936 GB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-05/0.3155, allocations: 27.98 kB / 0.4937 GB, free: 5.867 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001318/0.3168, allocations: 1.123 MB / 0.4948 GB, free: 4.742 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3168, allocations: 0 / 0.4948 GB, free: 4.742 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001605/0.3184, allocations: 0.5938 MB / 0.4953 GB, free: 4.148 MB / 378.7 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.0002532/0.3187, allocations: 159.2 kB / 0.4955 GB, free: 3.984 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002494/0.3212, allocations: 1.714 MB / 0.4972 GB, free: 2.238 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.3212, allocations: 4 kB / 0.4972 GB, free: 2.234 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001678/0.3229, allocations: 1.172 MB / 0.4983 GB, free: 1.027 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.3242, allocations: 266.7 kB / 0.4986 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1582/0.4824, allocations: 6.768 MB / 0.5052 GB, free: 87.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/0.4842, allocations: 2.134 MB / 0.5073 GB, free: 87.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001285/0.4855, allocations: 458.1 kB / 0.5077 GB, free: 87.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.4858, allocations: 98.31 kB / 0.5078 GB, free: 87.13 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.4858, allocations: 3.906 kB / 0.5078 GB, free: 87.13 MB / 378.7 MB Notification: Performance of Templates: time 0.03098/0.5168, allocations: 21.49 MB / 0.5288 GB, free: 71.41 MB / 378.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches