Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",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.001076/0.001075, allocations: 116.3 kB / 17.07 MB, free: 6 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.001053/0.001054, allocations: 198.9 kB / 18 MB, free: 5.078 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.41/1.41, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001173, allocations: 43.94 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3027, allocations: 49.44 MB / 400.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01051/0.3132, allocations: 9.122 MB / 409.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005031/0.3183, allocations: 2.577 MB / 411.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.3194, allocations: 63.81 kB / 412 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008333/0.3278, allocations: 3.736 MB / 415.7 MB, free: 9.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003412/0.3312, allocations: 0.9049 MB / 416.6 MB, free: 8.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.3335, allocations: 0.7919 MB / 417.4 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004492/0.338, allocations: 3.634 MB / 421.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01333/0.3513, allocations: 9.507 MB / 430.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003154/0.3545, allocations: 2.092 MB / 432.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00377/0.3583, allocations: 2.375 MB / 435 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001424/0.3598, allocations: 0.5859 MB / 435.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002383/0.3622, allocations: 0.8045 MB / 436.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001599/0.3638, allocations: 1.107 MB / 437.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00403/0.3678, allocations: 2.272 MB / 439.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009655/0.3775, allocations: 7.888 MB / 447.7 MB, free: 9.117 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3775, allocations: 0 / 447.7 MB, free: 9.117 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3775, allocations: 0 / 447.7 MB, free: 9.117 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002376/0.3778, allocations: 0 / 447.7 MB, free: 9.117 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01553/0.3933, allocations: 4.853 MB / 452.6 MB, free: 4.195 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.3934, allocations: 15.89 kB / 452.6 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001836/0.3952, allocations: 0.6 MB / 453.2 MB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008634/0.4039, allocations: 1.265 MB / 454.4 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005411/0.4093, allocations: 2.311 MB / 456.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003021/0.4096, allocations: 308.4 kB / 457 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001236/0.4109, allocations: 411.9 kB / 457.4 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01315/0.4241, allocations: 5.473 MB / 462.9 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001597/0.4243, allocations: 7.906 kB / 462.9 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009531/0.4252, allocations: 164 kB / 463.1 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002004/0.4254, allocations: 188.6 kB / 463.3 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009782/0.4352, allocations: 4.792 MB / 468.1 MB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03293/0.4682, allocations: 19.05 MB / 487.1 MB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005152/0.4734, allocations: 3.899 MB / 491 MB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.4747, allocations: 0.7777 MB / 491.8 MB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/0.4749, allocations: 114.1 kB / 491.9 MB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.475, allocations: 39.56 kB / 491.9 MB, free: 11.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.897e-06/0.475, allocations: 0 / 491.9 MB, free: 11.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002545/0.4776, allocations: 1.553 MB / 493.5 MB, free: 9.973 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.4776, allocations: 60.41 kB / 493.6 MB, free: 9.902 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/0.4799, allocations: 1.334 MB / 494.9 MB, free: 8.551 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.555e-05/0.48, allocations: 45.7 kB / 494.9 MB, free: 8.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.4812, allocations: 1.757 MB / 496.7 MB, free: 6.715 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000359/0.4816, allocations: 367 kB / 497 MB, free: 6.352 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007075/0.4823, allocations: 447.3 kB / 497.5 MB, free: 5.906 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.4825, allocations: 353.9 kB / 497.8 MB, free: 5.555 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.4838, allocations: 0.8279 MB / 498.7 MB, free: 4.723 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002162/0.486, allocations: 1.823 MB / 0.4887 GB, free: 2.418 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003424/0.4895, allocations: 2.798 MB / 0.4915 GB, free: 15.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.299e-05/0.4895, allocations: 12 kB / 0.4915 GB, free: 15.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004341/0.4939, allocations: 2.726 MB / 0.4942 GB, free: 12.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.77e-05/0.4939, allocations: 20 kB / 0.4942 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.206e-05/0.494, allocations: 32 kB / 0.4942 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.012e-05/0.494, allocations: 48 kB / 0.4943 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/0.4958, allocations: 0.5271 MB / 0.4948 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.261e-05/0.4959, allocations: 75.72 kB / 0.4948 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.4973, allocations: 281.2 kB / 0.4951 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/0.4974, allocations: 115.9 kB / 0.4952 GB, free: 11.31 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002518/0.5, allocations: 1.484 MB / 0.4967 GB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/0.5003, allocations: 122.5 kB / 0.4968 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002643/0.5029, allocations: 1.45 MB / 0.4982 GB, free: 8.215 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001497/0.5045, allocations: 1.041 MB / 0.4992 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.5045, allocations: 0 / 0.4992 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.5045, allocations: 7.984 kB / 0.4992 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01818/0.5227, allocations: 12.29 MB / 0.5112 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.838e-05/0.5228, allocations: 24.03 kB / 0.5112 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008917/0.5237, allocations: 235.5 kB / 0.5115 GB, free: 9.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.01e-05/0.5237, allocations: 24 kB / 0.5115 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.873e-05/0.5238, allocations: 48 kB / 0.5115 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.314e-05/0.5239, allocations: 43.8 kB / 0.5116 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.008e-05/0.5239, allocations: 27.88 kB / 0.5116 GB, free: 9.789 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003342/0.5273, allocations: 2.659 MB / 0.5142 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007376/0.528, allocations: 331.2 kB / 0.5145 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/0.5283, allocations: 47.98 kB / 0.5146 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009583/0.5293, allocations: 67.94 kB / 0.5146 GB, free: 6.363 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/0.5295, allocations: 147.3 kB / 0.5148 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.5296, allocations: 60 kB / 0.5148 GB, free: 6.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001644/0.5312, allocations: 0.9101 MB / 0.5157 GB, free: 5.242 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5313, allocations: 0 / 0.5157 GB, free: 5.242 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002975/0.5342, allocations: 0.8662 MB / 0.5166 GB, free: 4.371 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 1 (voltageSource.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 (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004124/0.5384, allocations: 3.307 MB / 0.5198 GB, free: 0.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00317/0.5416, allocations: 1.918 MB / 0.5217 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/0.5416, allocations: 4 kB / 0.5217 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009296/0.5425, allocations: 0.6265 MB / 0.5223 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/0.5448, allocations: 344.2 kB / 0.5226 GB, free: 13.88 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2305/0.7753, allocations: 18.51 MB / 0.5407 GB, free: 127.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001794/0.7772, allocations: 2.808 MB / 0.5434 GB, free: 125.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001364/0.7785, allocations: 0.7618 MB / 0.5442 GB, free: 125.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000987/0.7795, allocations: 1.147 MB / 0.5453 GB, free: 124.8 MB / 462.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7795, allocations: 3.719 kB / 0.5453 GB, free: 124.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05747/0.837, allocations: 39.18 MB / 0.5836 GB, free: 90.29 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.838/10.68, allocations: 6.281 kB / 0.5836 GB, free: 90.29 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches