Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001978/0.001978, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002257/0.002257, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2467, allocations: 50.54 MB / 408.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01109/0.2578, allocations: 9.134 MB / 417.9 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005487/0.2634, allocations: 2.643 MB / 420.5 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.2645, allocations: 67.81 kB / 420.6 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008584/0.2731, allocations: 3.733 MB / 424.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003385/0.2765, allocations: 0.7412 MB / 425.1 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00269/0.2792, allocations: 0.9353 MB / 426 MB, free: 276 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004829/0.2841, allocations: 3.618 MB / 429.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01395/0.2981, allocations: 9.509 MB / 439.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003097/0.3012, allocations: 2.092 MB / 441.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003612/0.3048, allocations: 2.383 MB / 443.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0011/0.306, allocations: 0.5859 MB / 444.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001766/0.3077, allocations: 0.8162 MB / 445 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001069/0.3088, allocations: 1.107 MB / 446.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002959/0.3118, allocations: 2.284 MB / 448.4 MB, free: 9.742 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009153/0.321, allocations: 7.924 MB / 456.3 MB, free: 1.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.321, allocations: 7.938 kB / 456.3 MB, free: 1.785 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.321, allocations: 0 / 456.3 MB, free: 1.785 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001749/0.3212, allocations: 0 / 456.3 MB, free: 1.785 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.01227/0.3335, allocations: 4.933 MB / 461.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.3335, allocations: 8.031 kB / 461.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001007/0.3345, allocations: 0.5923 MB / 461.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00803/0.3426, allocations: 1.314 MB / 463.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004573/0.3472, allocations: 2.315 MB / 465.5 MB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000287/0.3475, allocations: 312.4 kB / 465.8 MB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008485/0.3483, allocations: 415.9 kB / 466.2 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01102/0.3594, allocations: 5.473 MB / 471.7 MB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.372e-05/0.3595, allocations: 7.938 kB / 471.7 MB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004096/0.3599, allocations: 168 kB / 471.9 MB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001912/0.3601, allocations: 180.6 kB / 472 MB, free: 1.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009115/0.3692, allocations: 4.796 MB / 476.8 MB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02953/0.3988, allocations: 19.35 MB / 496.2 MB, free: 9.043 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00513/0.4039, allocations: 3.891 MB / 0.4883 GB, free: 4.684 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.4053, allocations: 0.777 MB / 0.4891 GB, free: 3.906 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002401/0.4056, allocations: 195.2 kB / 0.4893 GB, free: 3.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.4056, allocations: 39.56 kB / 0.4893 GB, free: 3.633 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.496e-06/0.4056, allocations: 0 / 0.4893 GB, free: 3.633 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002629/0.4083, allocations: 1.562 MB / 0.4909 GB, free: 2.062 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.4083, allocations: 60.41 kB / 0.4909 GB, free: 1.992 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.4104, allocations: 1.342 MB / 0.4922 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.539e-05/0.4105, allocations: 45.64 kB / 0.4923 GB, free: 0.582 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001385/0.4119, allocations: 1.823 MB / 0.494 GB, free: 14.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003542/0.4123, allocations: 377 kB / 0.4944 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006612/0.4129, allocations: 451.6 kB / 0.4948 GB, free: 13.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.4131, allocations: 361.7 kB / 0.4952 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.4144, allocations: 0.8279 MB / 0.496 GB, free: 12.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002153/0.4166, allocations: 1.823 MB / 0.4978 GB, free: 10.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003649/0.4202, allocations: 2.79 MB / 0.5005 GB, free: 7.156 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.981e-05/0.4203, allocations: 12 kB / 0.5005 GB, free: 7.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004385/0.4247, allocations: 2.731 MB / 0.5032 GB, free: 4.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.4247, allocations: 20.19 kB / 0.5032 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.505e-05/0.4248, allocations: 40 kB / 0.5032 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.075e-05/0.4248, allocations: 48 kB / 0.5033 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/0.4265, allocations: 0.5186 MB / 0.5038 GB, free: 3.785 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.469e-05/0.4266, allocations: 71.72 kB / 0.5039 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.4279, allocations: 297.9 kB / 0.5041 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/0.4281, allocations: 116 kB / 0.5043 GB, free: 3.309 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.002324/0.4304, allocations: 1.484 MB / 0.5057 GB, free: 1.812 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.4306, allocations: 123.2 kB / 0.5058 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/0.433, allocations: 1.462 MB / 0.5072 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001594/0.4346, allocations: 1.029 MB / 0.5083 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.4347, allocations: 4 kB / 0.5083 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.4347, allocations: 11.91 kB / 0.5083 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01925/0.4539, allocations: 13.73 MB / 0.5217 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.782e-05/0.454, allocations: 20 kB / 0.5217 GB, free: 388 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008357/0.4549, allocations: 235.5 kB / 0.5219 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.883e-05/0.4549, allocations: 28 kB / 0.5219 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.139e-05/0.455, allocations: 47.98 kB / 0.522 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.38e-05/0.455, allocations: 43.8 kB / 0.522 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.195e-05/0.4551, allocations: 31.88 kB / 0.5221 GB, free: 0 / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003691/0.4588, allocations: 2.676 MB / 0.5247 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000614/0.4594, allocations: 335.9 kB / 0.525 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.4596, allocations: 55.94 kB / 0.525 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007675/0.4603, allocations: 67.94 kB / 0.5251 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/0.4605, allocations: 147.3 kB / 0.5253 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.734e-05/0.4606, allocations: 63.98 kB / 0.5253 GB, free: 12.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001348/0.462, allocations: 0.9062 MB / 0.5262 GB, free: 11.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.462, allocations: 0 / 0.5262 GB, free: 11.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002579/0.4646, allocations: 0.8793 MB / 0.5271 GB, free: 10.54 MB / 462.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.004184/0.4688, allocations: 3.301 MB / 0.5303 GB, free: 6.926 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003236/0.472, allocations: 1.923 MB / 0.5322 GB, free: 5.004 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/0.4721, allocations: 4 kB / 0.5322 GB, free: 5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009931/0.4731, allocations: 0.6286 MB / 0.5328 GB, free: 4.375 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/0.4752, allocations: 336.2 kB / 0.5331 GB, free: 4.055 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2288/0.704, allocations: 18.62 MB / 0.5513 GB, free: 116.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001967/0.706, allocations: 2.799 MB / 0.554 GB, free: 114.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001509/0.7075, allocations: 0.7645 MB / 0.5548 GB, free: 114.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/0.7086, allocations: 1.139 MB / 0.5559 GB, free: 113.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.232e-06/0.7086, allocations: 0 / 0.5559 GB, free: 113.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06209/0.7707, allocations: 39.23 MB / 0.5942 GB, free: 75.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/11.05, allocations: 6.562 kB / 0.5942 GB, free: 75.19 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches