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.001432/0.001432, allocations: 108.7 kB / 17.06 MB, free: 5.828 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.001167/0.001167, allocations: 195 kB / 18 MB, free: 4.965 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.425/1.425, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 47.92 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2991, allocations: 49.44 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01082/0.31, allocations: 9.996 MB / 410.2 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007328/0.3173, allocations: 3.326 MB / 413.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.3189, allocations: 67.81 kB / 413.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00861/0.3275, allocations: 3.848 MB / 417.5 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005581/0.3331, allocations: 1.52 MB / 419 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.3358, allocations: 1.044 MB / 420 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01028/0.3461, allocations: 9.138 MB / 429.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02988/0.376, allocations: 20.33 MB / 449.5 MB, free: 7.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008145/0.3842, allocations: 5.062 MB / 454.6 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01121/0.3954, allocations: 6.087 MB / 460.7 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004578/0.4, allocations: 1.395 MB / 462.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005989/0.406, allocations: 1.633 MB / 463.7 MB, free: 9.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004883/0.4109, allocations: 2.919 MB / 466.6 MB, free: 6.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01046/0.4214, allocations: 5.455 MB / 472.1 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02225/0.4437, allocations: 18.89 MB / 491 MB, free: 13.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/0.4438, allocations: 0 / 491 MB, free: 13.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4438, allocations: 0 / 491 MB, free: 13.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005463/0.4443, allocations: 0 / 491 MB, free: 13.76 MB / 414.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.04012/0.4845, allocations: 12.45 MB / 0.4916 GB, free: 1.219 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.4845, allocations: 23.81 kB / 0.4916 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005721/0.4903, allocations: 1.324 MB / 0.4929 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04875/0.539, allocations: 8.554 MB / 0.5013 GB, free: 7.293 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0159/0.555, allocations: 5.892 MB / 0.507 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009197/0.5559, allocations: 0.6662 MB / 0.5077 GB, free: 0.668 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00452/0.5605, allocations: 0.8672 MB / 0.5085 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.042/0.6025, allocations: 15.97 MB / 0.5241 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004059/0.603, allocations: 8 kB / 0.5241 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003386/0.6064, allocations: 371.9 kB / 0.5245 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006605/0.607, allocations: 0.5621 MB / 0.525 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4608/1.068, allocations: 15.71 MB / 0.5404 GB, free: 114.1 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07855/1.146, allocations: 47.84 MB / 0.5871 GB, free: 82.93 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01618/1.163, allocations: 19.34 MB / 0.606 GB, free: 61.51 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004785/1.168, allocations: 3.582 MB / 0.6095 GB, free: 57.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005132/1.168, allocations: 183.2 kB / 0.6097 GB, free: 57.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.585e-05/1.168, allocations: 90.56 kB / 0.6097 GB, free: 57.65 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 8.887e-06/1.168, allocations: 0 / 0.6097 GB, free: 57.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.02241/1.191, allocations: 11.57 MB / 0.621 GB, free: 45.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/1.191, allocations: 129.1 kB / 0.6212 GB, free: 45.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006992/1.198, allocations: 3.846 MB / 0.6249 GB, free: 42.03 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007727/1.198, allocations: 101.7 kB / 0.625 GB, free: 41.92 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00219/1.201, allocations: 4.044 MB / 0.629 GB, free: 38.31 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001662/1.202, allocations: 1.691 MB / 0.6306 GB, free: 36.64 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003877/1.206, allocations: 1.477 MB / 0.6321 GB, free: 35.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.553e-05/1.206, allocations: 305.1 kB / 0.6324 GB, free: 34.86 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005154/1.211, allocations: 3.691 MB / 0.636 GB, free: 31.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006563/1.218, allocations: 6.518 MB / 0.6423 GB, free: 23.35 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/1.229, allocations: 10.83 MB / 0.6529 GB, free: 11.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-05/1.229, allocations: 28 kB / 0.6529 GB, free: 11.15 MB / 462.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01962/1.249, allocations: 11.96 MB / 0.6646 GB, free: 15.12 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/1.249, allocations: 44 kB / 0.6646 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002184/1.249, allocations: 92 kB / 0.6647 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005306/1.255, allocations: 1.629 MB / 0.6663 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006257/1.261, allocations: 1.665 MB / 0.668 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02143/1.282, allocations: 17.68 MB / 0.6852 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006768/1.289, allocations: 0.9626 MB / 0.6862 GB, free: 8.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001552/1.291, allocations: 364 kB / 0.6865 GB, free: 7.816 MB / 494.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.007894/1.299, allocations: 3.756 MB / 0.6902 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00145/1.3, allocations: 413.3 kB / 0.6906 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01767/1.318, allocations: 8.576 MB / 0.6989 GB, free: 10.98 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.236e-05/1.318, allocations: 48 kB / 0.699 GB, free: 10.93 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.107e-05/1.318, allocations: 16 kB / 0.699 GB, free: 10.92 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.151e-05/1.318, allocations: 23.91 kB / 0.699 GB, free: 10.89 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03533/1.353, allocations: 16.78 MB / 0.7154 GB, free: 9.926 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.222e-05/1.354, allocations: 4.25 kB / 0.7154 GB, free: 9.922 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003665/1.357, allocations: 0.8659 MB / 0.7163 GB, free: 9.055 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004903/1.362, allocations: 1.515 MB / 0.7177 GB, free: 7.52 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006774/1.363, allocations: 108 kB / 0.7179 GB, free: 7.414 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0206/1.383, allocations: 17.48 MB / 0.7349 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/1.383, allocations: 4 kB / 0.7349 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2602/1.644, allocations: 12.25 MB / 0.7469 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00286/1.647, allocations: 1.122 MB / 0.748 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006336/1.647, allocations: 86.34 kB / 0.7481 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002324/1.65, allocations: 307.8 kB / 0.7484 GB, free: 174.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006185/1.65, allocations: 327.6 kB / 0.7487 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002481/1.65, allocations: 132.4 kB / 0.7488 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003312/1.654, allocations: 2.576 MB / 0.7513 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.7e-07/1.654, allocations: 0 / 0.7513 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006515/1.66, allocations: 2.406 MB / 0.7537 GB, free: 173 MB / 0.5294 GB 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.01585/1.676, allocations: 12.98 MB / 0.7663 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01293/1.689, allocations: 9.383 MB / 0.7755 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/1.689, allocations: 2.188 kB / 0.7755 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005962/1.695, allocations: 4.481 MB / 0.7799 GB, free: 158.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003637/1.699, allocations: 0.7358 MB / 0.7806 GB, free: 157.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07476/1.774, allocations: 61.41 MB / 0.8406 GB, free: 95.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005043/1.779, allocations: 6.042 MB / 0.8465 GB, free: 89.17 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006091/1.785, allocations: 3.259 MB / 0.8497 GB, free: 85.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003266/1.788, allocations: 3.042 MB / 0.8526 GB, free: 82.86 MB / 0.5294 GB Notification: Performance of SimCode: time 1.032e-06/1.788, allocations: 0 / 0.8526 GB, free: 82.86 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4545/2.243, allocations: 125.5 MB / 0.9752 GB, free: 175.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.55/21.8, allocations: 11.88 kB / 0.9752 GB, free: 175.1 MB / 0.545 GB (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