Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_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.001782/0.001782, allocations: 110.5 kB / 16.92 MB, free: 6.332 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.002041/0.002041, allocations: 191.4 kB / 17.85 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.466/2.466, allocations: 222.9 MB / 241.6 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00208/0.002081, allocations: 39.06 kB / 300.7 MB, free: 5.801 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1716, allocations: 49.44 MB / 350.2 MB, free: 4.348 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.02381/0.1955, allocations: 9.989 MB / 360.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.2094, allocations: 3.33 MB / 363.5 MB, free: 6.957 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003443/0.2129, allocations: 71.81 kB / 363.6 MB, free: 6.887 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01623/0.2292, allocations: 3.831 MB / 367.4 MB, free: 3.047 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009072/0.2383, allocations: 1.508 MB / 368.9 MB, free: 1.535 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004826/0.2432, allocations: 1.046 MB / 369.9 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.306/0.5492, allocations: 9.055 MB / 379 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05214/0.6014, allocations: 20.41 MB / 399.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01816/0.6196, allocations: 5.053 MB / 404.5 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02265/0.6423, allocations: 6.113 MB / 410.6 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007967/0.6504, allocations: 1.402 MB / 412 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009715/0.6601, allocations: 1.635 MB / 413.6 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01202/0.6722, allocations: 3.088 MB / 416.7 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01954/0.6918, allocations: 5.451 MB / 422.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04096/0.7328, allocations: 18.75 MB / 440.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.175e-05/0.7329, allocations: 0 / 440.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.733, allocations: 0 / 440.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000661/0.7336, allocations: 0 / 440.9 MB, free: 7.773 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.0749/0.8086, allocations: 12.3 MB / 453.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.32e-05/0.8087, allocations: 15.89 kB / 453.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007577/0.8163, allocations: 1.328 MB / 454.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1041/0.9204, allocations: 8.463 MB / 463 MB, free: 1.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02611/0.9466, allocations: 5.757 MB / 468.8 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001308/0.9479, allocations: 0.6665 MB / 469.4 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006181/0.9542, allocations: 0.8651 MB / 470.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07389/1.028, allocations: 15.98 MB / 486.3 MB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005722/1.029, allocations: 7.906 kB / 486.3 MB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005131/1.034, allocations: 375.3 kB / 486.6 MB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001368/1.035, allocations: 0.5583 MB / 487.2 MB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06406/1.099, allocations: 15.71 MB / 0.4911 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8235/1.923, allocations: 48.23 MB / 0.5382 GB, free: 116.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03305/1.956, allocations: 19.33 MB / 0.5571 GB, free: 103.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008664/1.965, allocations: 3.588 MB / 0.5606 GB, free: 103.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006001/1.965, allocations: 176.8 kB / 0.5608 GB, free: 103.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.733e-05/1.966, allocations: 91.97 kB / 0.5609 GB, free: 103.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 1.163e-05/1.966, allocations: 0 / 0.5609 GB, free: 103.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.03722/2.003, allocations: 11.54 MB / 0.5721 GB, free: 101.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.618e-05/2.003, allocations: 139.7 kB / 0.5723 GB, free: 101.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009428/2.012, allocations: 3.84 MB / 0.576 GB, free: 100.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001348/2.014, allocations: 104.5 kB / 0.5761 GB, free: 99.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003031/2.017, allocations: 3.896 MB / 0.5799 GB, free: 97.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002939/2.02, allocations: 1.607 MB / 0.5815 GB, free: 95.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003349/2.023, allocations: 1.469 MB / 0.5829 GB, free: 95.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.523e-05/2.023, allocations: 305.1 kB / 0.5832 GB, free: 94.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005848/2.029, allocations: 3.687 MB / 0.5868 GB, free: 93.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007342/2.037, allocations: 6.525 MB / 0.5932 GB, free: 88.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01196/2.049, allocations: 10.82 MB / 0.6038 GB, free: 80.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.524e-05/2.049, allocations: 29.19 kB / 0.6038 GB, free: 80.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.0218/2.07, allocations: 11.96 MB / 0.6155 GB, free: 68.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/2.071, allocations: 44 kB / 0.6155 GB, free: 68.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001721/2.071, allocations: 92 kB / 0.6156 GB, free: 68.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005138/2.076, allocations: 1.626 MB / 0.6172 GB, free: 66.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009065/2.085, allocations: 1.671 MB / 0.6188 GB, free: 65.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01663/2.102, allocations: 17.67 MB / 0.6361 GB, free: 46.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006441/2.108, allocations: 0.9601 MB / 0.637 GB, free: 45.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009873/2.109, allocations: 360 kB / 0.6374 GB, free: 45.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009024/2.118, allocations: 3.75 MB / 0.641 GB, free: 41.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001692/2.12, allocations: 395.1 kB / 0.6414 GB, free: 41.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02305/2.143, allocations: 8.58 MB / 0.6498 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-05/2.143, allocations: 48 kB / 0.6498 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.754e-05/2.143, allocations: 16 kB / 0.6498 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001486/2.143, allocations: 23.91 kB / 0.6499 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04585/2.189, allocations: 16.94 MB / 0.6664 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.573e-05/2.189, allocations: 0 / 0.6664 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005577/2.195, allocations: 0.8659 MB / 0.6672 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006524/2.202, allocations: 1.527 MB / 0.6687 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001306/2.203, allocations: 99.97 kB / 0.6688 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0205/2.223, allocations: 17.46 MB / 0.6859 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/2.223, allocations: 4 kB / 0.6859 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03045/2.254, allocations: 12.25 MB / 0.6978 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004756/2.259, allocations: 1.1 MB / 0.6989 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001992/2.261, allocations: 87.98 kB / 0.699 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005238/2.266, allocations: 303.6 kB / 0.6993 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001875/2.268, allocations: 323.5 kB / 0.6996 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00103/2.269, allocations: 135.9 kB / 0.6997 GB, free: 12.19 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.008491/2.277, allocations: 2.578 MB / 0.7023 GB, free: 9.617 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.51e-07/2.278, allocations: 0 / 0.7023 GB, free: 9.617 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01618/2.294, allocations: 2.377 MB / 0.7046 GB, free: 7.23 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * 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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.3318/2.626, allocations: 12.95 MB / 0.7172 GB, free: 145.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.05334/2.679, allocations: 15.48 MB / 0.7323 GB, free: 142.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.812e-05/2.679, allocations: 0 / 0.7323 GB, free: 142.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01282/2.692, allocations: 4.473 MB / 0.7367 GB, free: 140.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008732/2.701, allocations: 0.7353 MB / 0.7374 GB, free: 140.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1609/2.862, allocations: 68.6 MB / 0.8044 GB, free: 82.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01576/2.877, allocations: 6.049 MB / 0.8103 GB, free: 76.07 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.01494/2.892, allocations: 3.247 MB / 0.8135 GB, free: 72.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008543/2.901, allocations: 3.038 MB / 0.8165 GB, free: 69.78 MB / 478.1 MB Notification: Performance of SimCode: time 1.693e-06/2.901, allocations: 0 / 0.8165 GB, free: 69.78 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6323/3.533, allocations: 127.4 MB / 0.9409 GB, free: 120.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.02/22.56, allocations: 5.391 kB / 0.9409 GB, free: 120.1 MB / 478.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches