Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMEE_Generator_Polyphase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMEE_Generator_Polyphase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001328/0.001328, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001459/0.00146, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001963, allocations: 63.89 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2686, allocations: 50.55 MB / 408.8 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase): time 0.03761/0.3063, allocations: 30.74 MB / 439.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02212/0.3285, allocations: 8.548 MB / 448.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006746/0.3353, allocations: 195.4 kB / 448.3 MB, free: 9.988 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006935/0.3423, allocations: 1.967 MB / 450.3 MB, free: 8.012 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.3531, allocations: 2.667 MB / 452.9 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007071/0.3602, allocations: 1.803 MB / 454.7 MB, free: 3.531 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01651/0.3767, allocations: 10.3 MB / 465 MB, free: 9.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01809/0.3949, allocations: 9.615 MB / 474.6 MB, free: 15.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00958/0.4045, allocations: 4.782 MB / 479.4 MB, free: 10.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01105/0.4155, allocations: 5.842 MB / 485.3 MB, free: 4.805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004537/0.4201, allocations: 1.367 MB / 486.6 MB, free: 3.438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005823/0.426, allocations: 1.718 MB / 488.4 MB, free: 1.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00554/0.4315, allocations: 3.031 MB / 491.4 MB, free: 14.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01222/0.4438, allocations: 5.687 MB / 497.1 MB, free: 8.969 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02699/0.4708, allocations: 17.68 MB / 0.5027 GB, free: 7.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4708, allocations: 0 / 0.5027 GB, free: 7.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4708, allocations: 0 / 0.5027 GB, free: 7.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006097/0.4715, allocations: 0 / 0.5027 GB, free: 7.23 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.03712/0.5086, allocations: 11.3 MB / 0.5137 GB, free: 11.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.5087, allocations: 8.031 kB / 0.5137 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0046/0.5133, allocations: 1.173 MB / 0.5149 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01395/0.5273, allocations: 2.2 MB / 0.517 GB, free: 8.418 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01652/0.5438, allocations: 6.296 MB / 0.5232 GB, free: 2.055 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000842/0.5447, allocations: 0.6463 MB / 0.5238 GB, free: 1.406 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003232/0.5479, allocations: 0.8475 MB / 0.5246 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03317/0.5811, allocations: 11.43 MB / 0.5358 GB, free: 5.039 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004554/0.5816, allocations: 7.953 kB / 0.5358 GB, free: 5.031 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002718/0.5844, allocations: 360 kB / 0.5361 GB, free: 4.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004506/0.5848, allocations: 377.5 kB / 0.5365 GB, free: 4.309 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4862/1.071, allocations: 9.664 MB / 0.5459 GB, free: 111.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06301/1.134, allocations: 35.53 MB / 0.5806 GB, free: 86.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0129/1.147, allocations: 18.11 MB / 0.5983 GB, free: 66.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00714/1.154, allocations: 4.252 MB / 0.6025 GB, free: 61.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0191/1.173, allocations: 11.55 MB / 0.6138 GB, free: 49.95 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/1.173, allocations: 76.97 kB / 0.6138 GB, free: 49.86 MB / 462.1 MB Notification: Performance of pre-optimization done (n=310): time 6.702e-06/1.173, allocations: 0 / 0.6138 GB, free: 49.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=362): time 0.03148/1.205, allocations: 16.07 MB / 0.6295 GB, free: 33.95 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/1.205, allocations: 90.17 kB / 0.6296 GB, free: 33.85 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006752/1.212, allocations: 4.5 MB / 0.634 GB, free: 29.38 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006419/1.213, allocations: 81.7 kB / 0.6341 GB, free: 29.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002171/1.215, allocations: 4.025 MB / 0.638 GB, free: 25.43 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001173/1.216, allocations: 1.295 MB / 0.6393 GB, free: 24.15 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001157/1.217, allocations: 0.7967 MB / 0.6401 GB, free: 23.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.388e-05/1.217, allocations: 301.1 kB / 0.6404 GB, free: 23.05 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00268/1.22, allocations: 1.953 MB / 0.6423 GB, free: 21.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003338/1.223, allocations: 3.42 MB / 0.6456 GB, free: 16.99 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00685/1.23, allocations: 5.722 MB / 0.6512 GB, free: 10.61 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-05/1.23, allocations: 16 kB / 0.6512 GB, free: 10.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01126/1.241, allocations: 6.869 MB / 0.6579 GB, free: 3.656 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.637e-05/1.241, allocations: 29.19 kB / 0.6579 GB, free: 3.629 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.714e-05/1.242, allocations: 44 kB / 0.658 GB, free: 3.586 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002031/1.244, allocations: 0.8913 MB / 0.6588 GB, free: 2.676 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003609/1.247, allocations: 1.045 MB / 0.6599 GB, free: 1.629 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/1.262, allocations: 12.47 MB / 0.672 GB, free: 4.609 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004201/1.266, allocations: 239.9 kB / 0.6723 GB, free: 4.375 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006214/1.267, allocations: 208 kB / 0.6725 GB, free: 4.172 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 208 * 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 (529): * Single equations (assignments): 521 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,13,100.0%), (1,8,100.0%), (2,13,100.0%), (3,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005846/1.272, allocations: 2.546 MB / 0.675 GB, free: 1.613 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001494/1.274, allocations: 0.5085 MB / 0.6755 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01273/1.287, allocations: 5.744 MB / 0.6811 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.011e-05/1.287, allocations: 43.94 kB / 0.6811 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.497e-05/1.287, allocations: 16.19 kB / 0.6811 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.542e-05/1.287, allocations: 19.92 kB / 0.6811 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0281/1.315, allocations: 13.32 MB / 0.6941 GB, free: 13.71 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.363e-05/1.315, allocations: 4 kB / 0.6942 GB, free: 13.71 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002935/1.318, allocations: 0.5974 MB / 0.6947 GB, free: 13.11 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002915/1.321, allocations: 1.065 MB / 0.6958 GB, free: 12.03 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004783/1.322, allocations: 87.97 kB / 0.6959 GB, free: 11.95 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02041/1.342, allocations: 16.57 MB / 0.712 GB, free: 10.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.342, allocations: 4 kB / 0.712 GB, free: 10.7 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01966/1.362, allocations: 8.394 MB / 0.7202 GB, free: 2.117 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004371/1.366, allocations: 1.001 MB / 0.7212 GB, free: 1.094 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002199/1.368, allocations: 79.88 kB / 0.7213 GB, free: 1.016 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005249/1.374, allocations: 191.8 kB / 0.7215 GB, free: 0.8281 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001379/1.375, allocations: 274.3 kB / 0.7217 GB, free: 0.5586 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005464/1.376, allocations: 104.8 kB / 0.7218 GB, free: 468 kB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.009537/1.385, allocations: 3.046 MB / 0.7248 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.92e-07/1.385, allocations: 8 kB / 0.7248 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01059/1.396, allocations: 1.477 MB / 0.7263 GB, free: 11.93 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.stray.Phi.re,smeeM.stator.stray.Phi.im,smee3.phiMechanical,smee3.stator.core.Phi.re,smee3.stator.core.Phi.im,smee3.stator.stray.Phi.re,smee3.stator.stray.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 (281): * Single equations (assignments): 274 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,13,100.0%), (2,13,100.0%), (4,33,93.8%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02471/1.421, allocations: 9.104 MB / 0.7352 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.2997/1.72, allocations: 5.787 MB / 0.7408 GB, free: 182.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/1.72, allocations: 1.062 kB / 0.7408 GB, free: 182.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006443/1.727, allocations: 3.481 MB / 0.7442 GB, free: 182 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008006/1.735, allocations: 1.176 MB / 0.7454 GB, free: 181.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09233/1.827, allocations: 52.3 MB / 0.7964 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007101/1.834, allocations: 5.096 MB / 0.8014 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003918/1.838, allocations: 1.064 MB / 0.8024 GB, free: 134.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005013/1.843, allocations: 3.381 MB / 0.8058 GB, free: 131.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.173e-06/1.843, allocations: 4 kB / 0.8058 GB, free: 131.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1915/2.035, allocations: 125.3 MB / 0.9281 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.45/24.48, allocations: 14.16 kB / 0.9281 GB, free: 6.68 MB / 0.5294 GB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMEE_Generator_Polyphase.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMEE_Generator_Polyphase/SMEE_Generator_Polyphase.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches