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.00127/0.001275, allocations: 109 kB / 17.06 MB, free: 5.969 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.001212/0.001212, allocations: 200 kB / 18.01 MB, free: 5.051 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.391/1.391, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 43.92 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2904, allocations: 49.44 MB / 400.3 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01189/0.3023, allocations: 9.994 MB / 410.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007274/0.3097, allocations: 3.326 MB / 413.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.3115, allocations: 75.81 kB / 413.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008914/0.3205, allocations: 3.823 MB / 417.5 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005487/0.326, allocations: 1.516 MB / 419 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.3288, allocations: 1.051 MB / 420 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01114/0.3399, allocations: 9.134 MB / 429.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02784/0.3678, allocations: 20.32 MB / 449.5 MB, free: 7.352 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007205/0.375, allocations: 5.066 MB / 454.6 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01024/0.3853, allocations: 6.071 MB / 460.6 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00389/0.3892, allocations: 1.398 MB / 462 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005585/0.3948, allocations: 1.633 MB / 463.7 MB, free: 9.152 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005142/0.4, allocations: 2.927 MB / 466.6 MB, free: 6.219 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01049/0.4105, allocations: 5.455 MB / 472 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02441/0.435, allocations: 18.88 MB / 490.9 MB, free: 13.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.435, allocations: 0 / 490.9 MB, free: 13.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.435, allocations: 3.938 kB / 490.9 MB, free: 13.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004681/0.4355, allocations: 4 kB / 490.9 MB, free: 13.8 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.03825/0.4737, allocations: 12.45 MB / 0.4916 GB, free: 1.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.4738, allocations: 11.89 kB / 0.4916 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004803/0.4786, allocations: 1.328 MB / 0.4929 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04879/0.5274, allocations: 8.546 MB / 0.5012 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01385/0.5413, allocations: 5.904 MB / 0.507 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007789/0.5422, allocations: 0.6584 MB / 0.5076 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00421/0.5464, allocations: 0.8672 MB / 0.5085 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03988/0.5863, allocations: 15.98 MB / 0.5241 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000295/0.5866, allocations: 8 kB / 0.5241 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002539/0.5892, allocations: 368 kB / 0.5245 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000636/0.5898, allocations: 0.5621 MB / 0.525 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4521/1.042, allocations: 15.72 MB / 0.5404 GB, free: 114 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0871/1.129, allocations: 47.84 MB / 0.5871 GB, free: 82.97 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01468/1.144, allocations: 19.34 MB / 0.606 GB, free: 61.56 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004352/1.148, allocations: 3.59 MB / 0.6095 GB, free: 57.97 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003694/1.149, allocations: 183.2 kB / 0.6096 GB, free: 57.79 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/1.149, allocations: 82.56 kB / 0.6097 GB, free: 57.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 6.041e-06/1.149, allocations: 0 / 0.6097 GB, free: 57.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.02006/1.169, allocations: 11.57 MB / 0.621 GB, free: 46 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/1.169, allocations: 125.1 kB / 0.6211 GB, free: 45.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004662/1.173, allocations: 3.85 MB / 0.6249 GB, free: 42.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006871/1.174, allocations: 101.7 kB / 0.625 GB, free: 41.96 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001733/1.176, allocations: 4.052 MB / 0.6289 GB, free: 38.35 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001412/1.177, allocations: 1.683 MB / 0.6306 GB, free: 36.69 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001827/1.179, allocations: 1.477 MB / 0.632 GB, free: 35.21 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.969e-05/1.179, allocations: 301.1 kB / 0.6323 GB, free: 34.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004084/1.183, allocations: 3.691 MB / 0.6359 GB, free: 31.21 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005142/1.188, allocations: 6.522 MB / 0.6423 GB, free: 23.39 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009941/1.198, allocations: 10.82 MB / 0.6529 GB, free: 11.23 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.328e-05/1.199, allocations: 24 kB / 0.6529 GB, free: 11.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01903/1.218, allocations: 11.97 MB / 0.6646 GB, free: 15.16 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/1.218, allocations: 44 kB / 0.6646 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001955/1.218, allocations: 96 kB / 0.6647 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005496/1.223, allocations: 1.621 MB / 0.6663 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00675/1.23, allocations: 1.665 MB / 0.6679 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0235/1.254, allocations: 17.68 MB / 0.6852 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006415/1.26, allocations: 0.9665 MB / 0.6861 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001664/1.262, allocations: 360 kB / 0.6865 GB, free: 7.871 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.008634/1.271, allocations: 3.754 MB / 0.6901 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00148/1.272, allocations: 409.3 kB / 0.6905 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01777/1.29, allocations: 8.584 MB / 0.6989 GB, free: 11.03 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.228e-05/1.29, allocations: 48 kB / 0.699 GB, free: 10.98 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.261e-05/1.29, allocations: 12 kB / 0.699 GB, free: 10.97 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001036/1.29, allocations: 23.91 kB / 0.699 GB, free: 10.95 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03401/1.324, allocations: 16.79 MB / 0.7154 GB, free: 9.977 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.388e-05/1.324, allocations: 3.984 kB / 0.7154 GB, free: 9.973 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003847/1.328, allocations: 0.862 MB / 0.7162 GB, free: 9.109 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004966/1.333, allocations: 1.515 MB / 0.7177 GB, free: 7.574 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007742/1.334, allocations: 111.9 kB / 0.7178 GB, free: 7.465 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02152/1.355, allocations: 17.48 MB / 0.7349 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/1.355, allocations: 4 kB / 0.7349 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2446/1.6, allocations: 12.26 MB / 0.7469 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002449/1.602, allocations: 1.119 MB / 0.748 GB, free: 174.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007967/1.603, allocations: 87.03 kB / 0.748 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002453/1.606, allocations: 307.5 kB / 0.7483 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006444/1.606, allocations: 320.5 kB / 0.7486 GB, free: 174.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002561/1.607, allocations: 137.1 kB / 0.7488 GB, free: 174.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00325/1.61, allocations: 2.574 MB / 0.7513 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.51e-07/1.61, allocations: 0 / 0.7513 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007707/1.618, allocations: 2.4 MB / 0.7536 GB, free: 172.9 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.01656/1.634, allocations: 12.98 MB / 0.7663 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01305/1.647, allocations: 9.398 MB / 0.7755 GB, free: 162.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.647, allocations: 0 / 0.7755 GB, free: 162.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006734/1.654, allocations: 4.484 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.004766/1.659, allocations: 0.7325 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.08461/1.743, allocations: 61.41 MB / 0.8405 GB, free: 95.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005544/1.749, allocations: 6.042 MB / 0.8464 GB, free: 89.22 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006355/1.755, allocations: 3.255 MB / 0.8496 GB, free: 85.96 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004429/1.76, allocations: 3.042 MB / 0.8526 GB, free: 82.91 MB / 0.5294 GB Notification: Performance of SimCode: time 1.022e-06/1.76, allocations: 3.719 kB / 0.8526 GB, free: 82.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4333/2.193, allocations: 125.5 MB / 0.9752 GB, free: 175.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.4/21.59, allocations: 3.438 kB / 0.9752 GB, free: 175.4 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