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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 106.1 kB / 17.05 MB, free: 6.09 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.00145/0.00145, allocations: 192 kB / 18 MB, free: 5.184 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.449/1.449, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 47.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.283, allocations: 49.44 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006468/0.2895, allocations: 4.648 MB / 404.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003321/0.2929, allocations: 1.693 MB / 406.6 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004354/0.2933, allocations: 27.88 kB / 406.6 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006181/0.294, allocations: 258.3 kB / 406.8 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001755/0.2958, allocations: 0.6919 MB / 407.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006042/0.2964, allocations: 223.5 kB / 407.8 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002719/0.2991, allocations: 1.878 MB / 409.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001623/0.3008, allocations: 1.292 MB / 410.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.3019, allocations: 0.7865 MB / 411.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.3033, allocations: 0.9886 MB / 412.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003121/0.3036, allocations: 188 kB / 412.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007553/0.3044, allocations: 307.9 kB / 413.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004981/0.3049, allocations: 0.5374 MB / 413.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.3059, allocations: 0.8905 MB / 414.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002736/0.3087, allocations: 2.576 MB / 417.2 MB, free: 7.766 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3087, allocations: 0 / 417.2 MB, free: 7.766 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.3087, allocations: 8 kB / 417.2 MB, free: 7.758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.011e-05/0.3087, allocations: 0 / 417.2 MB, free: 7.758 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.004729/0.3135, allocations: 2.216 MB / 419.4 MB, free: 5.484 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3135, allocations: 12.03 kB / 419.4 MB, free: 5.473 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000248/0.3138, allocations: 202.8 kB / 419.6 MB, free: 5.266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001756/0.3155, allocations: 383.5 kB / 420 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/0.3173, allocations: 1.095 MB / 421.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-05/0.3174, allocations: 103 kB / 421.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/0.3176, allocations: 139.9 kB / 421.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003036/0.3206, allocations: 1.89 MB / 423.2 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.3207, allocations: 0 / 423.2 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/0.3208, allocations: 56 kB / 423.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.235e-05/0.3209, allocations: 42 kB / 423.3 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002872/0.3238, allocations: 1.695 MB / 425 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008818/0.3326, allocations: 5.506 MB / 430.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003321/0.3359, allocations: 2.901 MB / 433.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007886/0.3368, allocations: 0.4962 MB / 433.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002324/0.3391, allocations: 1.529 MB / 435.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.3391, allocations: 46.69 kB / 435.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 1.904e-06/0.3392, allocations: 0 / 435.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.003362/0.3425, allocations: 1.422 MB / 436.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.3426, allocations: 89.05 kB / 437 MB, free: 3.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.3442, allocations: 1.024 MB / 438 MB, free: 1.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.937e-05/0.3442, allocations: 33.7 kB / 438.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005271/0.3448, allocations: 0.6909 MB / 438.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.3449, allocations: 194.3 kB / 438.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/0.3451, allocations: 134.3 kB / 439.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3453, allocations: 330 kB / 439.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006225/0.3459, allocations: 361 kB / 439.7 MB, free: 236 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007687/0.3467, allocations: 0.5146 MB / 440.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.3481, allocations: 0.875 MB / 441.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.3481, allocations: 4 kB / 441.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00174/0.3498, allocations: 1.018 MB / 442.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3499, allocations: 8 kB / 442.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.3499, allocations: 11.92 kB / 442.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.3499, allocations: 8 kB / 442.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007343/0.3507, allocations: 179.8 kB / 442.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.228e-05/0.3507, allocations: 15.92 kB / 442.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005428/0.3512, allocations: 87.47 kB / 442.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.169e-05/0.3513, allocations: 28.03 kB / 442.5 MB, free: 13.34 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.0007593/0.3521, allocations: 0.5288 MB / 443 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.3523, allocations: 91.44 kB / 443.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.3536, allocations: 0.6862 MB / 443.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.3536, allocations: 11.94 kB / 443.8 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.3536, allocations: 7.938 kB / 443.8 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.3536, allocations: 0 / 443.8 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/0.3563, allocations: 1.659 MB / 445.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.3564, allocations: 4 kB / 445.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004509/0.3568, allocations: 95.81 kB / 445.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004468/0.3573, allocations: 152.7 kB / 445.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.449e-05/0.3573, allocations: 23.98 kB / 445.7 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003267/0.3606, allocations: 2.84 MB / 448.6 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.3606, allocations: 7.969 kB / 448.6 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/0.363, allocations: 1.469 MB / 450.1 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/0.3634, allocations: 196.5 kB / 450.2 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.3635, allocations: 23.92 kB / 450.3 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005768/0.3641, allocations: 59.88 kB / 450.3 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.3643, allocations: 55.86 kB / 450.4 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.045e-05/0.3643, allocations: 23.98 kB / 450.4 MB, free: 5.145 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001107/0.3654, allocations: 0.7292 MB / 451.1 MB, free: 4.422 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3654, allocations: 0 / 451.1 MB, free: 4.422 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001069/0.3665, allocations: 366.8 kB / 451.5 MB, free: 4.062 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.002966/0.3695, allocations: 2.06 MB / 453.6 MB, free: 1.961 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.371, allocations: 0.7726 MB / 454.3 MB, free: 1.191 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.371, allocations: 0 / 454.3 MB, free: 1.191 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.3721, allocations: 0.594 MB / 454.9 MB, free: 0.582 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.3733, allocations: 176.1 kB / 455.1 MB, free: 420 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/0.3906, allocations: 10.54 MB / 465.6 MB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/0.3922, allocations: 1.495 MB / 467.1 MB, free: 4.047 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006723/0.3929, allocations: 234.7 kB / 467.4 MB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006958/0.3936, allocations: 485.2 kB / 467.8 MB, free: 3.34 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3936, allocations: 0 / 467.8 MB, free: 3.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06487/0.4585, allocations: 23.05 MB / 490.9 MB, free: 12.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.69, allocations: 8.906 kB / 490.9 MB, free: 12.61 MB / 414.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > 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.csv","/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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches