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.001401/0.001401, allocations: 111.1 kB / 17.06 MB, free: 5.992 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.001618/0.001618, allocations: 200 kB / 18.01 MB, free: 5.066 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.366/1.366, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 55.91 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3017, allocations: 49.43 MB / 400.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01017/0.3119, allocations: 9.12 MB / 409.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005327/0.3172, allocations: 2.569 MB / 411.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001795/0.3191, allocations: 67.81 kB / 412 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008467/0.3276, allocations: 3.756 MB / 415.8 MB, free: 9.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00347/0.3311, allocations: 0.901 MB / 416.7 MB, free: 8.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002371/0.3335, allocations: 0.7984 MB / 417.5 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004864/0.3383, allocations: 3.626 MB / 421.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01633/0.3547, allocations: 9.509 MB / 430.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003949/0.3587, allocations: 2.096 MB / 432.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004382/0.3631, allocations: 2.375 MB / 435.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001587/0.3647, allocations: 0.5859 MB / 435.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002725/0.3675, allocations: 0.7928 MB / 436.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002183/0.3697, allocations: 1.111 MB / 437.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004178/0.3739, allocations: 2.28 MB / 439.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009505/0.3834, allocations: 7.908 MB / 447.7 MB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3835, allocations: 0 / 447.7 MB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3835, allocations: 4 kB / 447.7 MB, free: 9.094 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002262/0.3837, allocations: 0 / 447.7 MB, free: 9.094 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.01458/0.3983, allocations: 4.936 MB / 452.7 MB, free: 4.086 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.3984, allocations: 8.031 kB / 452.7 MB, free: 4.078 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00214/0.4005, allocations: 0.5922 MB / 453.3 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008411/0.4089, allocations: 1.286 MB / 454.6 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006126/0.4151, allocations: 2.319 MB / 456.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004595/0.4156, allocations: 312.3 kB / 457.2 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001942/0.4176, allocations: 411.9 kB / 457.6 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01488/0.4325, allocations: 5.473 MB / 463.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001573/0.4327, allocations: 7.953 kB / 463.1 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001056/0.4338, allocations: 176 kB / 463.2 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001965/0.434, allocations: 180.6 kB / 463.4 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009942/0.4439, allocations: 4.792 MB / 468.2 MB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03169/0.4756, allocations: 19.1 MB / 487.3 MB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005369/0.4811, allocations: 3.887 MB / 491.2 MB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.4826, allocations: 0.7738 MB / 492 MB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001978/0.4828, allocations: 114.1 kB / 492.1 MB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.4828, allocations: 51.56 kB / 492.1 MB, free: 11.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.236e-06/0.4829, allocations: 0 / 492.1 MB, free: 11.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002698/0.4856, allocations: 1.558 MB / 493.7 MB, free: 9.797 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.4856, allocations: 60.41 kB / 493.7 MB, free: 9.727 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002631/0.4883, allocations: 1.334 MB / 495.1 MB, free: 8.375 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.773e-05/0.4884, allocations: 41.7 kB / 495.1 MB, free: 8.328 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001449/0.4898, allocations: 1.831 MB / 497 MB, free: 6.477 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000368/0.4902, allocations: 373 kB / 497.3 MB, free: 6.109 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007285/0.491, allocations: 459.6 kB / 497.8 MB, free: 5.652 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4911, allocations: 349.9 kB / 498.1 MB, free: 5.305 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.4924, allocations: 0.8318 MB / 498.9 MB, free: 4.469 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/0.4945, allocations: 1.823 MB / 0.489 GB, free: 2.164 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003282/0.4978, allocations: 2.794 MB / 0.4918 GB, free: 14.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.962e-05/0.4978, allocations: 12 kB / 0.4918 GB, free: 14.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004384/0.5022, allocations: 2.732 MB / 0.4944 GB, free: 12.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.46e-05/0.5023, allocations: 27.98 kB / 0.4945 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.14e-05/0.5024, allocations: 36 kB / 0.4945 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.042e-05/0.5024, allocations: 48 kB / 0.4945 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/0.5042, allocations: 0.5225 MB / 0.4951 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.759e-05/0.5043, allocations: 67.73 kB / 0.4951 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.5057, allocations: 298 kB / 0.4954 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/0.5059, allocations: 119.9 kB / 0.4955 GB, free: 11.04 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.002268/0.5082, allocations: 1.484 MB / 0.497 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002577/0.5084, allocations: 127.2 kB / 0.4971 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002357/0.5108, allocations: 1.454 MB / 0.4985 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001475/0.5123, allocations: 1.037 MB / 0.4995 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.5123, allocations: 0 / 0.4995 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.5123, allocations: 7.984 kB / 0.4995 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01722/0.5296, allocations: 12.3 MB / 0.5115 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.281e-05/0.5296, allocations: 20 kB / 0.5116 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009178/0.5306, allocations: 227.5 kB / 0.5118 GB, free: 9.656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.375e-05/0.5306, allocations: 28 kB / 0.5118 GB, free: 9.629 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/0.5308, allocations: 52 kB / 0.5119 GB, free: 9.578 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.12e-05/0.5308, allocations: 36.45 kB / 0.5119 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.141e-05/0.5308, allocations: 35.88 kB / 0.5119 GB, free: 9.508 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003342/0.5342, allocations: 2.66 MB / 0.5145 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006719/0.5349, allocations: 335.9 kB / 0.5148 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002759/0.5351, allocations: 47.98 kB / 0.5149 GB, free: 6.145 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009448/0.5361, allocations: 67.94 kB / 0.5149 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.5363, allocations: 151.3 kB / 0.5151 GB, free: 5.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.565e-05/0.5364, allocations: 60 kB / 0.5152 GB, free: 5.871 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001493/0.5379, allocations: 0.9023 MB / 0.516 GB, free: 4.961 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5379, allocations: 0 / 0.516 GB, free: 4.961 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002888/0.5408, allocations: 0.8832 MB / 0.5169 GB, free: 4.074 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.004189/0.545, allocations: 3.313 MB / 0.5201 GB, free: 456 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003179/0.5482, allocations: 1.919 MB / 0.522 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/0.5482, allocations: 4 kB / 0.522 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009185/0.5492, allocations: 0.6277 MB / 0.5226 GB, free: 13.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.5515, allocations: 339 kB / 0.5229 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2279/0.7794, allocations: 18.63 MB / 0.5411 GB, free: 127.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001957/0.7814, allocations: 2.8 MB / 0.5439 GB, free: 125.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001531/0.7829, allocations: 0.7598 MB / 0.5446 GB, free: 125.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/0.784, allocations: 1.145 MB / 0.5457 GB, free: 124.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.553e-06/0.784, allocations: 3.719 kB / 0.5457 GB, free: 124.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05783/0.8419, allocations: 39.35 MB / 0.5842 GB, free: 90.07 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.87, allocations: 11.36 kB / 0.5842 GB, free: 90.07 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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