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.001386/0.001386, allocations: 112.6 kB / 17.07 MB, free: 5.984 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.001348/0.001348, allocations: 193.4 kB / 18 MB, free: 5.074 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.523/1.523, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 47.92 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3118, allocations: 49.45 MB / 400.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01251/0.3243, allocations: 9.121 MB / 409.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006646/0.3311, allocations: 2.569 MB / 411.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.3324, allocations: 67.81 kB / 412 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008801/0.3413, allocations: 3.74 MB / 415.7 MB, free: 9.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003656/0.345, allocations: 0.9011 MB / 416.6 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002337/0.3473, allocations: 0.7952 MB / 417.4 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004945/0.3523, allocations: 3.63 MB / 421.1 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01396/0.3663, allocations: 9.509 MB / 430.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003394/0.3697, allocations: 2.088 MB / 432.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004215/0.374, allocations: 2.379 MB / 435 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001253/0.3752, allocations: 0.5859 MB / 435.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001943/0.3772, allocations: 0.8005 MB / 436.4 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001294/0.3785, allocations: 1.107 MB / 437.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00343/0.3819, allocations: 2.28 MB / 439.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009247/0.3912, allocations: 7.901 MB / 447.7 MB, free: 9.117 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3912, allocations: 0 / 447.7 MB, free: 9.117 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3913, allocations: 0 / 447.7 MB, free: 9.117 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000207/0.3915, 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.01433/0.4058, allocations: 4.937 MB / 452.7 MB, free: 4.105 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.4059, allocations: 11.97 kB / 452.7 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001418/0.4073, allocations: 0.5961 MB / 453.3 MB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007805/0.4151, allocations: 1.286 MB / 454.6 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004648/0.4198, allocations: 2.319 MB / 456.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003069/0.4201, allocations: 316.3 kB / 457.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001198/0.4213, allocations: 408 kB / 457.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01271/0.4341, allocations: 5.465 MB / 463 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000114/0.4342, allocations: 7.938 kB / 463.1 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006279/0.4348, allocations: 172 kB / 463.2 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002264/0.4351, allocations: 180.5 kB / 463.4 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01043/0.4455, allocations: 4.796 MB / 468.2 MB, free: 4.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03315/0.4787, allocations: 19.1 MB / 487.3 MB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005257/0.484, allocations: 3.891 MB / 491.2 MB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/0.4854, allocations: 0.7816 MB / 492 MB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/0.4856, allocations: 114.1 kB / 492.1 MB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.4857, allocations: 39.56 kB / 492.1 MB, free: 11.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.396e-06/0.4857, allocations: 0 / 492.1 MB, free: 11.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002608/0.4883, allocations: 1.558 MB / 493.7 MB, free: 9.816 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.4884, allocations: 64.41 kB / 493.7 MB, free: 9.742 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/0.4904, allocations: 1.342 MB / 495.1 MB, free: 8.383 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.182e-05/0.4905, allocations: 41.7 kB / 495.1 MB, free: 8.336 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001369/0.4919, allocations: 1.819 MB / 496.9 MB, free: 6.496 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003821/0.4923, allocations: 381 kB / 497.3 MB, free: 6.121 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006761/0.493, allocations: 447.7 kB / 497.7 MB, free: 5.676 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.4932, allocations: 357.9 kB / 498.1 MB, free: 5.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.4944, allocations: 0.8279 MB / 498.9 MB, free: 4.488 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002112/0.4965, allocations: 1.827 MB / 0.489 GB, free: 2.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003581/0.5001, allocations: 2.798 MB / 0.4917 GB, free: 14.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.281e-05/0.5002, allocations: 8 kB / 0.4918 GB, free: 14.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004474/0.5046, allocations: 2.739 MB / 0.4944 GB, free: 12.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.5047, allocations: 20 kB / 0.4944 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.991e-05/0.5047, allocations: 32.84 kB / 0.4945 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.637e-05/0.5048, allocations: 48 kB / 0.4945 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/0.5065, allocations: 0.5303 MB / 0.495 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.634e-05/0.5066, allocations: 71.72 kB / 0.4951 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.5079, allocations: 290 kB / 0.4954 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/0.5081, allocations: 119.9 kB / 0.4955 GB, free: 11.05 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.002382/0.5105, allocations: 1.48 MB / 0.4969 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/0.5108, allocations: 131.1 kB / 0.4971 GB, free: 9.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/0.5133, allocations: 1.454 MB / 0.4985 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001562/0.5148, allocations: 1.037 MB / 0.4995 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.5149, allocations: 0 / 0.4995 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.5149, allocations: 3.984 kB / 0.4995 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01817/0.5331, allocations: 12.3 MB / 0.5115 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.319e-05/0.5331, allocations: 24 kB / 0.5115 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008665/0.534, allocations: 231.6 kB / 0.5118 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.027e-05/0.5341, allocations: 28 kB / 0.5118 GB, free: 9.641 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.466e-05/0.5342, allocations: 47.98 kB / 0.5118 GB, free: 9.594 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.782e-05/0.5342, allocations: 39.86 kB / 0.5119 GB, free: 9.555 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-05/0.5342, allocations: 31.88 kB / 0.5119 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003717/0.538, allocations: 2.656 MB / 0.5145 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006489/0.5386, allocations: 343.9 kB / 0.5148 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/0.5388, allocations: 51.98 kB / 0.5149 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000788/0.5396, allocations: 67.94 kB / 0.5149 GB, free: 6.086 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/0.5398, allocations: 147.3 kB / 0.5151 GB, free: 5.941 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-05/0.5399, allocations: 63.98 kB / 0.5151 GB, free: 5.879 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001435/0.5414, allocations: 0.9023 MB / 0.516 GB, free: 4.969 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5414, allocations: 0 / 0.516 GB, free: 4.969 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002884/0.5443, allocations: 0.8832 MB / 0.5169 GB, free: 4.082 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.00458/0.5489, allocations: 3.313 MB / 0.5201 GB, free: 464 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003446/0.5524, allocations: 1.914 MB / 0.522 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.349e-05/0.5524, allocations: 8 kB / 0.522 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000999/0.5534, allocations: 0.6305 MB / 0.5226 GB, free: 13.91 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/0.5556, allocations: 332.2 kB / 0.5229 GB, free: 13.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2386/0.7942, allocations: 18.62 MB / 0.5411 GB, free: 126.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001963/0.7963, allocations: 2.803 MB / 0.5439 GB, free: 125.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001413/0.7977, allocations: 0.7653 MB / 0.5446 GB, free: 125.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/0.7988, allocations: 1.145 MB / 0.5457 GB, free: 124.5 MB / 462.1 MB Notification: Performance of SimCode: time 9.42e-07/0.7988, allocations: 3.719 kB / 0.5457 GB, free: 124.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06628/0.8651, allocations: 39.34 MB / 0.5841 GB, free: 89.77 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/11.39, allocations: 18.39 kB / 0.5842 GB, free: 89.75 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