Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_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.001531/0.001531, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001716/0.001717, allocations: 198 kB / 18.73 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.51/1.51, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 59.91 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2925, allocations: 50.54 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008408/0.301, allocations: 6.644 MB / 415.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004534/0.3056, allocations: 2.254 MB / 417.7 MB, free: 8.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006379/0.3062, allocations: 43.81 kB / 417.7 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008378/0.3071, allocations: 373.5 kB / 418.1 MB, free: 8.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.3091, allocations: 0.8277 MB / 418.9 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008116/0.3099, allocations: 358.9 kB / 419.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00368/0.3136, allocations: 3.195 MB / 422.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002555/0.3161, allocations: 1.995 MB / 424.4 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001913/0.3181, allocations: 1.293 MB / 425.7 MB, free: 448 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002242/0.3203, allocations: 1.627 MB / 427.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004315/0.3208, allocations: 296 kB / 427.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008894/0.3217, allocations: 427.9 kB / 428.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007769/0.3224, allocations: 0.8529 MB / 428.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001671/0.3241, allocations: 1.466 MB / 430.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004412/0.3285, allocations: 4.106 MB / 434.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3286, allocations: 4 kB / 434.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3286, allocations: 0 / 434.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.541e-05/0.3287, allocations: 0 / 434.5 MB, free: 7.648 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: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.007881/0.3365, allocations: 3.557 MB / 438 MB, free: 4.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.3366, allocations: 8.031 kB / 438.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004489/0.337, allocations: 337.1 kB / 438.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004246/0.3413, allocations: 0.7758 MB / 439.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003464/0.3448, allocations: 1.732 MB / 440.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.345, allocations: 176.9 kB / 441.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003993/0.3454, allocations: 239.8 kB / 441.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00544/0.3508, allocations: 3.199 MB / 444.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.702e-05/0.3509, allocations: 0 / 444.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002165/0.3511, allocations: 92 kB / 444.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.839e-05/0.3512, allocations: 69.98 kB / 444.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004855/0.356, allocations: 2.866 MB / 447.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01539/0.3714, allocations: 9.163 MB / 456.7 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005148/0.3766, allocations: 4.383 MB / 461.1 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/0.3779, allocations: 0.8099 MB / 461.9 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004477/0.3824, allocations: 3.15 MB / 465 MB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.207e-05/0.3825, allocations: 54.81 kB / 465.1 MB, free: 7.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.805e-06/0.3825, allocations: 0 / 465.1 MB, free: 7.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.008/0.3905, allocations: 4.278 MB / 469.4 MB, free: 3.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/0.3906, allocations: 115.2 kB / 469.5 MB, free: 3.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002235/0.3929, allocations: 1.621 MB / 471.1 MB, free: 1.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.393, allocations: 41.7 kB / 471.1 MB, free: 1.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008706/0.3938, allocations: 1.145 MB / 472.3 MB, free: 268 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003484/0.3942, allocations: 369 kB / 472.6 MB, free: 15.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003676/0.3946, allocations: 242.8 kB / 472.9 MB, free: 15.65 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3948, allocations: 357.9 kB / 473.2 MB, free: 15.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.3958, allocations: 0.6426 MB / 473.9 MB, free: 14.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.3972, allocations: 1.012 MB / 474.9 MB, free: 13.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002459/0.3996, allocations: 1.697 MB / 476.6 MB, free: 11.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.3996, allocations: 4 kB / 476.6 MB, free: 11.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003418/0.4031, allocations: 1.952 MB / 478.5 MB, free: 9.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.4031, allocations: 15.94 kB / 478.6 MB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.4031, allocations: 12 kB / 478.6 MB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003591/0.4035, allocations: 122.2 kB / 478.7 MB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.4048, allocations: 331.5 kB / 479 MB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003421/0.4082, allocations: 3.431 MB / 482.4 MB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.4093, allocations: 104 kB / 482.5 MB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-05/0.4094, allocations: 59.98 kB / 482.6 MB, free: 5.316 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001346/0.4107, allocations: 0.8366 MB / 483.4 MB, free: 4.469 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003012/0.411, allocations: 162.9 kB / 483.6 MB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/0.4136, allocations: 1.389 MB / 485 MB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.4136, allocations: 15.94 kB / 485 MB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.4136, allocations: 4 kB / 485 MB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.4136, allocations: 11.95 kB / 485 MB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003889/0.4175, allocations: 2.453 MB / 487.5 MB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.4175, allocations: 4 kB / 487.5 MB, free: 344 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008162/0.4184, allocations: 179.9 kB / 487.6 MB, free: 164 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006597/0.419, allocations: 261.3 kB / 487.9 MB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.619e-05/0.4191, allocations: 31.98 kB / 487.9 MB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006246/0.4254, allocations: 6.256 MB / 494.2 MB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4254, allocations: 7.969 kB / 494.2 MB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004091/0.4295, allocations: 2.554 MB / 496.7 MB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000571/0.4301, allocations: 259.9 kB / 497 MB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.4303, allocations: 31.98 kB / 497 MB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008505/0.4311, allocations: 91.91 kB / 497.1 MB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/0.4314, allocations: 96.09 kB / 497.2 MB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.623e-05/0.4315, allocations: 35.98 kB / 497.3 MB, free: 6.066 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001718/0.4332, allocations: 1.128 MB / 498.4 MB, free: 4.938 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4332, allocations: 0 / 498.4 MB, free: 4.938 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001675/0.4349, allocations: 451.9 kB / 498.8 MB, free: 4.496 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[3].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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004598/0.4395, allocations: 3.168 MB / 0.4902 GB, free: 1.277 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003149/0.4427, allocations: 1.716 MB / 0.4919 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.4427, allocations: 80 / 0.4919 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001971/0.4447, allocations: 1.187 MB / 0.4931 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/0.4463, allocations: 276.9 kB / 0.4933 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02868/0.475, allocations: 17.45 MB / 0.5104 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003254/0.4783, allocations: 2.105 MB / 0.5124 GB, free: 9.918 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001495/0.4798, allocations: 463.5 kB / 0.5129 GB, free: 9.461 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/0.4812, allocations: 0.8234 MB / 0.5137 GB, free: 8.641 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4812, allocations: 0 / 0.5137 GB, free: 8.641 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3358/0.817, allocations: 38.32 MB / 0.5511 GB, free: 125 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.46, allocations: 0.8906 kB / 0.5511 GB, free: 125 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.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_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches