Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001071/0.001071, allocations: 117.2 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001059/0.001059, allocations: 208.6 kB / 18.74 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 59.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2686, allocations: 50.55 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01042/0.279, allocations: 10 MB / 418.8 MB, free: 7.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006597/0.2857, allocations: 3.388 MB / 422.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/0.2874, allocations: 75.75 kB / 422.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00901/0.2964, allocations: 3.834 MB / 426.1 MB, free: 164 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004888/0.3013, allocations: 1.493 MB / 427.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002913/0.3043, allocations: 1.063 MB / 428.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01041/0.3147, allocations: 9.255 MB / 437.9 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02891/0.3436, allocations: 20.33 MB / 458.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007504/0.3512, allocations: 5.078 MB / 463.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009145/0.3604, allocations: 6.095 MB / 469.4 MB, free: 4.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004001/0.3644, allocations: 1.398 MB / 470.8 MB, free: 3.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005879/0.3703, allocations: 1.66 MB / 472.4 MB, free: 1.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004603/0.3749, allocations: 2.923 MB / 475.4 MB, free: 14.65 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009468/0.3844, allocations: 5.455 MB / 480.8 MB, free: 9.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02181/0.4063, allocations: 18.9 MB / 499.7 MB, free: 6.223 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.4063, allocations: 0 / 499.7 MB, free: 6.223 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4063, allocations: 4 kB / 499.7 MB, free: 6.219 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000533/0.4069, allocations: 0 / 499.7 MB, free: 6.219 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.03732/0.4442, allocations: 12.46 MB / 0.5002 GB, free: 9.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.4443, allocations: 8.031 kB / 0.5002 GB, free: 9.652 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00468/0.449, allocations: 1.328 MB / 0.5015 GB, free: 8.316 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04922/0.4982, allocations: 8.604 MB / 0.5099 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01393/0.5121, allocations: 5.892 MB / 0.5156 GB, free: 9.738 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006075/0.5128, allocations: 0.6584 MB / 0.5163 GB, free: 9.078 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003568/0.5164, allocations: 0.8671 MB / 0.5171 GB, free: 8.211 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03675/0.5531, allocations: 15.98 MB / 0.5327 GB, free: 8.184 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003851/0.5535, allocations: 7.953 kB / 0.5327 GB, free: 8.176 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003031/0.5566, allocations: 368 kB / 0.5331 GB, free: 7.816 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006031/0.5572, allocations: 0.5582 MB / 0.5336 GB, free: 7.254 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4405/0.9977, allocations: 15.72 MB / 0.549 GB, free: 108.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06744/1.065, allocations: 48.65 MB / 0.5965 GB, free: 68.05 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01436/1.08, allocations: 19.32 MB / 0.6154 GB, free: 46.64 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004066/1.084, allocations: 3.586 MB / 0.6189 GB, free: 43.06 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00038/1.084, allocations: 268.9 kB / 0.6191 GB, free: 42.78 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/1.084, allocations: 82.56 kB / 0.6192 GB, free: 42.69 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 6.503e-06/1.084, allocations: 0 / 0.6192 GB, free: 42.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.01982/1.104, allocations: 11.56 MB / 0.6305 GB, free: 30.99 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/1.104, allocations: 133 kB / 0.6306 GB, free: 30.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004584/1.109, allocations: 3.854 MB / 0.6344 GB, free: 27.04 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006895/1.109, allocations: 101.6 kB / 0.6345 GB, free: 26.94 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001669/1.111, allocations: 4.053 MB / 0.6385 GB, free: 23.33 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00139/1.112, allocations: 1.687 MB / 0.6401 GB, free: 21.65 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001802/1.114, allocations: 1.469 MB / 0.6415 GB, free: 20.17 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.871e-05/1.114, allocations: 301.1 kB / 0.6418 GB, free: 19.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004314/1.119, allocations: 3.688 MB / 0.6454 GB, free: 16.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005313/1.124, allocations: 6.521 MB / 0.6518 GB, free: 8.363 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/1.135, allocations: 10.83 MB / 0.6624 GB, free: 12.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.497e-05/1.135, allocations: 28 kB / 0.6624 GB, free: 12.17 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02244/1.158, allocations: 11.97 MB / 0.6741 GB, free: 128 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.279e-05/1.158, allocations: 48 kB / 0.6741 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001534/1.158, allocations: 92.05 kB / 0.6742 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005066/1.163, allocations: 1.62 MB / 0.6758 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006636/1.17, allocations: 1.673 MB / 0.6774 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01963/1.189, allocations: 17.67 MB / 0.6947 GB, free: 10.16 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005611/1.195, allocations: 0.9781 MB / 0.6956 GB, free: 9.18 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001092/1.196, allocations: 360 kB / 0.696 GB, free: 8.828 MB / 0.4982 GB 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.006101/1.202, allocations: 3.75 MB / 0.6996 GB, free: 5.062 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008078/1.203, allocations: 413.3 kB / 0.7 GB, free: 4.656 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01429/1.217, allocations: 8.573 MB / 0.7084 GB, free: 11.99 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.81e-05/1.218, allocations: 52 kB / 0.7085 GB, free: 11.94 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.171e-05/1.218, allocations: 12 kB / 0.7085 GB, free: 11.93 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-05/1.218, allocations: 23.91 kB / 0.7085 GB, free: 11.91 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02934/1.247, allocations: 16.8 MB / 0.7249 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/1.247, allocations: 7.938 kB / 0.7249 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003833/1.251, allocations: 0.8543 MB / 0.7257 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004796/1.256, allocations: 1.526 MB / 0.7272 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007753/1.256, allocations: 99.98 kB / 0.7273 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01949/1.276, allocations: 17.47 MB / 0.7444 GB, free: 6.117 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.276, allocations: 4 kB / 0.7444 GB, free: 6.113 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2635/1.539, allocations: 12.25 MB / 0.7564 GB, free: 182.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003024/1.543, allocations: 1.121 MB / 0.7575 GB, free: 182.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006701/1.543, allocations: 88.17 kB / 0.7575 GB, free: 182.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002364/1.546, allocations: 305.3 kB / 0.7578 GB, free: 182.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006073/1.546, allocations: 318.3 kB / 0.7581 GB, free: 182.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002478/1.546, allocations: 140.2 kB / 0.7583 GB, free: 182.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003115/1.55, allocations: 2.574 MB / 0.7608 GB, free: 181.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/1.55, allocations: 0 / 0.7608 GB, free: 181.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006332/1.556, allocations: 2.405 MB / 0.7631 GB, free: 181.5 MB / 0.545 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.01581/1.572, allocations: 12.98 MB / 0.7758 GB, free: 176 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01308/1.585, allocations: 9.387 MB / 0.785 GB, free: 172.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.585, allocations: 5.812 kB / 0.785 GB, free: 172.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006556/1.591, allocations: 4.478 MB / 0.7894 GB, free: 168.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004/1.595, allocations: 0.7394 MB / 0.7901 GB, free: 167.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08989/1.685, allocations: 61.4 MB / 0.85 GB, free: 105.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008815/1.694, allocations: 6.051 MB / 0.8559 GB, free: 99.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00762/1.702, allocations: 3.251 MB / 0.8591 GB, free: 96.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004952/1.707, allocations: 3.042 MB / 0.8621 GB, free: 93.27 MB / 0.545 GB Notification: Performance of SimCode: time 1.001e-06/1.707, allocations: 0 / 0.8621 GB, free: 93.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3998/2.107, allocations: 125.6 MB / 0.9847 GB, free: 172.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.12/21.22, allocations: 18.61 kB / 0.9847 GB, free: 172.8 MB / 0.545 GB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches