Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 200.5 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 229.5 MB / 247.7 MB, free: 6.352 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009036/0.0009036, allocations: 99.88 kB / 299.9 MB, free: 5.363 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002038/0.0002039, allocations: 4 kB / 360.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1786, allocations: 51.41 MB / 412.1 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.004219/0.1828, allocations: 5.765 MB / 417.8 MB, free: 20.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.1853, allocations: 3.317 MB / 421.1 MB, free: 16.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003121/0.1856, allocations: 39.81 kB / 421.2 MB, free: 16.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004868/0.1861, allocations: 306.3 kB / 421.5 MB, free: 16.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.1874, allocations: 1.083 MB / 422.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004746/0.1879, allocations: 364.7 kB / 422.9 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002255/0.1901, allocations: 3.563 MB / 426.5 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.1914, allocations: 1.647 MB / 428.1 MB, free: 9.375 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000662/0.1921, allocations: 1.004 MB / 429.1 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009936/0.1931, allocations: 1.373 MB / 430.5 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001824/0.1933, allocations: 143.9 kB / 430.6 MB, free: 6.848 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004957/0.1938, allocations: 271.8 kB / 430.9 MB, free: 6.582 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003617/0.1941, allocations: 0.6498 MB / 431.6 MB, free: 5.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007917/0.1949, allocations: 1.257 MB / 432.8 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.197, allocations: 3.84 MB / 436.7 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.197, allocations: 0 / 436.7 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.197, allocations: 0 / 436.7 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.289e-05/0.197, allocations: 4 kB / 436.7 MB, free: 0.8047 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.005679/0.2027, allocations: 3.019 MB / 439.7 MB, free: 13.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.2027, allocations: 8.031 kB / 439.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003813/0.2066, allocations: 0.7899 MB / 440.5 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/0.2089, allocations: 1.625 MB / 442.1 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.2091, allocations: 169 kB / 442.3 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003195/0.2094, allocations: 232.1 kB / 442.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00474/0.2141, allocations: 3.191 MB / 445.7 MB, free: 7.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.57e-05/0.2142, allocations: 7.922 kB / 445.7 MB, free: 7.582 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001962/0.2144, allocations: 96 kB / 445.8 MB, free: 7.488 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.276e-05/0.2145, allocations: 73.98 kB / 445.9 MB, free: 7.414 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004364/0.2188, allocations: 2.886 MB / 448.7 MB, free: 4.527 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01273/0.2316, allocations: 9.312 MB / 458.1 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004414/0.236, allocations: 4.391 MB / 462.4 MB, free: 5.863 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.2371, allocations: 0.818 MB / 463.3 MB, free: 5.039 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003625/0.2408, allocations: 3.161 MB / 466.4 MB, free: 1.621 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.2408, allocations: 46.89 kB / 466.5 MB, free: 1.566 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 2.104e-06/0.2408, allocations: 0 / 466.5 MB, free: 1.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=100): time 0.006944/0.2478, allocations: 4.254 MB / 470.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.2479, allocations: 123.2 kB / 470.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.2497, allocations: 1.581 MB / 472.4 MB, free: 11.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.283e-05/0.2498, allocations: 45.7 kB / 472.5 MB, free: 11.42 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000678/0.2505, allocations: 1.11 MB / 473.6 MB, free: 10.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/0.2507, allocations: 354.9 kB / 473.9 MB, free: 9.941 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.25e-05/0.2508, allocations: 24 kB / 473.9 MB, free: 9.918 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2509, allocations: 358.2 kB / 474.3 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009943/0.2519, allocations: 0.6505 MB / 474.9 MB, free: 8.914 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.2532, allocations: 1.031 MB / 476 MB, free: 7.719 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002216/0.2554, allocations: 1.728 MB / 477.7 MB, free: 5.836 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.2554, allocations: 4 kB / 477.7 MB, free: 5.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002992/0.2584, allocations: 1.955 MB / 479.7 MB, free: 3.863 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.2584, allocations: 16.03 kB / 479.7 MB, free: 3.848 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.2585, allocations: 15.94 kB / 479.7 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003267/0.2588, allocations: 129.5 kB / 479.8 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.26, allocations: 343.5 kB / 480.2 MB, free: 3.363 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002569/0.2626, allocations: 3.182 MB / 483.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008501/0.2635, allocations: 107.5 kB / 483.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.851e-05/0.2636, allocations: 55.98 kB / 483.5 MB, free: 15.75 MB / 362.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.001105/0.2647, allocations: 0.8289 MB / 484.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.2649, allocations: 150.2 kB / 484.5 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/0.2672, allocations: 1.42 MB / 485.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.2672, allocations: 8 kB / 485.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.2672, allocations: 4 kB / 485.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.2673, allocations: 7.984 kB / 485.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003228/0.2705, allocations: 2.465 MB / 488.4 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.2705, allocations: 0 / 488.4 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007975/0.2713, allocations: 195.8 kB / 488.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006009/0.2719, allocations: 250.2 kB / 488.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.192e-05/0.272, allocations: 35.97 kB / 488.9 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005129/0.2771, allocations: 5.782 MB / 494.6 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2772, allocations: 4.031 kB / 494.6 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003528/0.2807, allocations: 2.592 MB / 497.2 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.281, allocations: 251.2 kB / 497.5 MB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.2812, allocations: 35.98 kB / 497.5 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007936/0.282, allocations: 99.91 kB / 497.6 MB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000208/0.2822, allocations: 104.2 kB / 497.7 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.531e-05/0.2823, allocations: 31.98 kB / 497.7 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00134/0.2836, allocations: 1.099 MB / 498.8 MB, free: 15.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2836, allocations: 0 / 498.8 MB, free: 15.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001212/0.2848, allocations: 444 kB / 499.3 MB, free: 15.4 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.0002744/0.2851, allocations: 174.7 kB / 499.4 MB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002553/0.2877, allocations: 1.735 MB / 0.4894 GB, free: 13.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2877, allocations: 64 / 0.4894 GB, free: 13.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.2894, allocations: 1.191 MB / 0.4906 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.2909, allocations: 277.1 kB / 0.4909 GB, free: 11.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006436/0.2973, allocations: 5.802 MB / 0.4965 GB, free: 6.102 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/0.2989, allocations: 2.101 MB / 0.4986 GB, free: 3.965 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001089/0.3, allocations: 447.3 kB / 0.499 GB, free: 3.523 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/0.3002, allocations: 99.41 kB / 0.4991 GB, free: 3.426 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3002, allocations: 0 / 0.4991 GB, free: 3.426 MB / 378.7 MB Notification: Performance of Templates: time 0.1683/0.4686, allocations: 18.39 MB / 0.5171 GB, free: 83.7 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/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