Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.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.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 112.8 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.001478/0.001478, allocations: 200 kB / 18.01 MB, free: 5.047 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.315/1.315, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009261/0.0009261, allocations: 47.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2913, allocations: 49.43 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005266/0.2966, allocations: 4.663 MB / 404.9 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002903/0.2995, allocations: 1.686 MB / 406.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004501/0.3, allocations: 31.81 kB / 406.6 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006151/0.3007, allocations: 262.3 kB / 406.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.3023, allocations: 0.6997 MB / 407.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.3028, allocations: 223.4 kB / 407.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001992/0.3048, allocations: 1.883 MB / 409.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.3061, allocations: 1.292 MB / 411 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000922/0.307, allocations: 0.7904 MB / 411.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.3081, allocations: 0.9808 MB / 412.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002368/0.3084, allocations: 188 kB / 412.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006052/0.309, allocations: 311.9 kB / 413.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004533/0.3094, allocations: 0.5336 MB / 413.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009607/0.3104, allocations: 0.8943 MB / 414.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002571/0.313, allocations: 2.576 MB / 417.2 MB, free: 7.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.313, allocations: 0 / 417.2 MB, free: 7.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.313, allocations: 0 / 417.2 MB, free: 7.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.339e-05/0.3131, allocations: 4 kB / 417.2 MB, free: 7.727 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004656/0.3177, allocations: 2.22 MB / 419.4 MB, free: 5.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.3178, allocations: 8.031 kB / 419.5 MB, free: 5.441 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00026/0.3181, allocations: 214.8 kB / 419.7 MB, free: 5.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.3198, allocations: 375.5 kB / 420 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.3217, allocations: 1.099 MB / 421.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.398e-05/0.3218, allocations: 99.05 kB / 421.2 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.322, allocations: 135.9 kB / 421.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002885/0.3249, allocations: 1.886 MB / 423.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.3249, allocations: 4 kB / 423.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.3251, allocations: 52 kB / 423.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.116e-05/0.3251, allocations: 57.97 kB / 423.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002601/0.3277, allocations: 1.68 MB / 425 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008227/0.336, allocations: 5.518 MB / 430.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00288/0.3389, allocations: 2.91 MB / 433.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00068/0.3396, allocations: 0.4908 MB / 434 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002236/0.3418, allocations: 1.525 MB / 435.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.3419, allocations: 50.67 kB / 435.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 2.073e-06/0.3419, allocations: 0 / 435.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.002985/0.3449, allocations: 1.415 MB / 436.9 MB, free: 3.082 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.3449, allocations: 85.05 kB / 437 MB, free: 2.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.3461, allocations: 1.028 MB / 438.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.3462, allocations: 37.7 kB / 438.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004234/0.3466, allocations: 0.6909 MB / 438.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.3468, allocations: 198.3 kB / 439 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.347, allocations: 126.3 kB / 439.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3471, allocations: 334 kB / 439.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005397/0.3476, allocations: 361 kB / 439.8 MB, free: 196 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006646/0.3483, allocations: 0.5131 MB / 440.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.3495, allocations: 0.8712 MB / 441.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.3496, allocations: 0 / 441.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001652/0.3512, allocations: 1.018 MB / 442.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.3513, allocations: 12.03 kB / 442.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.3513, allocations: 7.938 kB / 442.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.3513, allocations: 8 kB / 442.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007293/0.352, allocations: 183.8 kB / 442.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.3521, allocations: 11.94 kB / 442.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/0.3526, allocations: 87.47 kB / 442.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.617e-05/0.3526, allocations: 32 kB / 442.5 MB, free: 13.31 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006948/0.3533, allocations: 0.5211 MB / 443 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.3535, allocations: 91.44 kB / 443.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.3547, allocations: 0.6939 MB / 443.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.3547, allocations: 11.98 kB / 443.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.3547, allocations: 7.875 kB / 443.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3548, allocations: 3.984 kB / 443.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.3571, allocations: 1.66 MB / 445.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-06/0.3571, allocations: 0 / 445.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/0.3576, allocations: 95.81 kB / 445.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003995/0.358, allocations: 159.8 kB / 445.8 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.206e-05/0.3581, allocations: 19.98 kB / 445.8 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002945/0.361, allocations: 2.832 MB / 448.6 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.361, allocations: 0 / 448.6 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/0.3633, allocations: 1.481 MB / 450.1 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/0.3636, allocations: 192.5 kB / 450.3 MB, free: 5.273 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.3637, allocations: 23.98 kB / 450.3 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005186/0.3642, allocations: 63.81 kB / 450.4 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.3644, allocations: 51.92 kB / 450.4 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/0.3644, allocations: 19.98 kB / 450.4 MB, free: 5.117 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008893/0.3653, allocations: 0.7332 MB / 451.2 MB, free: 4.391 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3653, allocations: 0 / 451.2 MB, free: 4.391 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009648/0.3663, allocations: 366.8 kB / 451.5 MB, free: 4.031 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (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) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00244/0.3687, allocations: 2.06 MB / 453.6 MB, free: 1.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.37, allocations: 0.7757 MB / 454.4 MB, free: 1.156 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.37, allocations: 1.125 kB / 454.4 MB, free: 1.156 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.3711, allocations: 0.5941 MB / 455 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009737/0.3721, allocations: 184 kB / 455.1 MB, free: 376 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/0.3855, allocations: 10.53 MB / 465.7 MB, free: 5.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.3866, allocations: 1.491 MB / 467.2 MB, free: 4.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006198/0.3872, allocations: 242.7 kB / 467.4 MB, free: 3.777 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005597/0.3878, allocations: 483.3 kB / 467.9 MB, free: 3.305 MB / 382.1 MB Notification: Performance of SimCode: time 1.333e-06/0.3878, allocations: 0 / 467.9 MB, free: 3.305 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04779/0.4356, allocations: 23.05 MB / 490.9 MB, free: 12.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.5, allocations: 15.2 kB / 490.9 MB, free: 12.57 MB / 414.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches