Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_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.001193/0.001193, allocations: 110.6 kB / 17.73 MB, free: 5.34 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.001254/0.001255, allocations: 194.9 kB / 18.67 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 51.94 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0881/0.08953, allocations: 46.62 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.2084/0.2979, allocations: 9.703 MB / 384.4 MB, free: 8.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006023/0.304, allocations: 2.738 MB / 387.1 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.306, allocations: 55.16 kB / 387.2 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008391/0.3144, allocations: 3.778 MB / 390.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005262/0.3197, allocations: 1.077 MB / 392 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0035/0.3232, allocations: 0.8051 MB / 392.8 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006974/0.3302, allocations: 3.911 MB / 396.7 MB, free: 1.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01705/0.3473, allocations: 9.571 MB / 406.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004532/0.3518, allocations: 2.222 MB / 408.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005434/0.3573, allocations: 2.545 MB / 411.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001811/0.3592, allocations: 0.6079 MB / 411.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00315/0.3623, allocations: 0.8147 MB / 412.5 MB, free: 9.961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002192/0.3645, allocations: 1.202 MB / 413.7 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00451/0.3691, allocations: 2.422 MB / 416.1 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009792/0.3789, allocations: 8.16 MB / 424.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.3789, allocations: 0 / 424.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3789, allocations: 0 / 424.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002438/0.3792, allocations: 0 / 424.3 MB, free: 14.35 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01546/0.3947, allocations: 5.25 MB / 429.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.3947, allocations: 8.031 kB / 429.5 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002135/0.3969, allocations: 0.6377 MB / 430.2 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01589/0.4128, allocations: 2.597 MB / 432.8 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005348/0.4182, allocations: 2.167 MB / 434.9 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003355/0.4185, allocations: 337.1 kB / 435.3 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001717/0.4203, allocations: 436 kB / 435.7 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01327/0.4335, allocations: 6.107 MB / 441.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/0.4337, allocations: 11.94 kB / 441.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005471/0.4342, allocations: 180 kB / 442 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002101/0.4345, allocations: 213.3 kB / 442.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/0.4455, allocations: 5.787 MB / 448 MB, free: 6.441 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03653/0.4821, allocations: 21.21 MB / 469.2 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009137/0.4912, allocations: 8.939 MB / 478.1 MB, free: 6.203 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001818/0.4931, allocations: 0.9726 MB / 479.1 MB, free: 5.234 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006068/0.4992, allocations: 3.566 MB / 482.7 MB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.4993, allocations: 38.73 kB / 482.7 MB, free: 1.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.254e-06/0.4993, allocations: 0 / 482.7 MB, free: 1.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001264/0.5006, allocations: 0.6444 MB / 483.3 MB, free: 0.6758 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.5006, allocations: 63.34 kB / 483.4 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003405/0.504, allocations: 1.991 MB / 485.4 MB, free: 14.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.518e-05/0.5041, allocations: 33.69 kB / 485.4 MB, free: 14.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001587/0.5057, allocations: 2.268 MB / 487.7 MB, free: 12.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.5059, allocations: 147.1 kB / 487.8 MB, free: 12.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009588/0.5069, allocations: 0.5514 MB / 488.4 MB, free: 11.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.507, allocations: 345.9 kB / 488.7 MB, free: 11.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.5085, allocations: 0.8793 MB / 489.6 MB, free: 10.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003016/0.5115, allocations: 2.247 MB / 491.9 MB, free: 7.414 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003634/0.5152, allocations: 3.063 MB / 494.9 MB, free: 3.676 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-05/0.5152, allocations: 12 kB / 494.9 MB, free: 3.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.005088/0.5203, allocations: 3.138 MB / 498.1 MB, free: 0.5195 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.527e-05/0.5204, allocations: 31.94 kB / 498.1 MB, free: 500 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.161e-05/0.5205, allocations: 48 kB / 498.1 MB, free: 452 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-05/0.5206, allocations: 67.94 kB / 498.2 MB, free: 384 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001804/0.5224, allocations: 0.5933 MB / 498.8 MB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.952e-05/0.5225, allocations: 91.66 kB / 498.9 MB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002063/0.5245, allocations: 421.2 kB / 499.3 MB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002158/0.5248, allocations: 148 kB / 499.4 MB, free: 15.13 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 219 * 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 (317): * Single equations (assignments): 316 * 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.002372/0.5272, allocations: 1.562 MB / 0.4893 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002825/0.5274, allocations: 135 kB / 0.4894 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.5285, allocations: 0.6173 MB / 0.49 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000443/0.529, allocations: 313.5 kB / 0.4903 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.529, allocations: 0 / 0.4903 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.529, allocations: 3.984 kB / 0.4903 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007361/0.5364, allocations: 3.976 MB / 0.4942 GB, free: 8.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.5364, allocations: 7.938 kB / 0.4942 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.5367, allocations: 51.91 kB / 0.4942 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.5367, allocations: 8.594 kB / 0.4943 GB, free: 8.258 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.5367, allocations: 19.98 kB / 0.4943 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/0.5368, allocations: 4 kB / 0.4943 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.5368, allocations: 15.88 kB / 0.4943 GB, free: 8.219 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.5379, allocations: 0.8975 MB / 0.4952 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005425/0.5384, allocations: 256.1 kB / 0.4954 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003114/0.5388, allocations: 12 kB / 0.4954 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006903/0.5395, allocations: 43.94 kB / 0.4955 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.5395, allocations: 31.92 kB / 0.4955 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.5396, allocations: 16 kB / 0.4955 GB, free: 6.871 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002374/0.5419, allocations: 1.339 MB / 0.4968 GB, free: 5.535 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.51e-07/0.542, allocations: 0 / 0.4968 GB, free: 5.535 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003583/0.5455, allocations: 0.9415 MB / 0.4977 GB, free: 4.59 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (26): * Single equations (assignments): 25 * 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.001824/0.5474, allocations: 1.505 MB / 0.4992 GB, free: 3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003071/0.5505, allocations: 1.666 MB / 0.5008 GB, free: 1.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/0.5505, allocations: 0 / 0.5008 GB, free: 1.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002803/0.5508, allocations: 185.2 kB / 0.501 GB, free: 1.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/0.5529, allocations: 315.6 kB / 0.5013 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.034/0.5869, allocations: 19.36 MB / 0.5202 GB, free: 11.72 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003862/0.5908, allocations: 2.895 MB / 0.523 GB, free: 8.789 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001954/0.5928, allocations: 0.7748 MB / 0.5238 GB, free: 8.008 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001746/0.5945, allocations: 1.214 MB / 0.525 GB, free: 6.797 MB / 462.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5946, allocations: 0 / 0.525 GB, free: 6.797 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2685/0.863, allocations: 41.46 MB / 0.5655 GB, free: 149 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/11.15, allocations: 5.047 kB / 0.5655 GB, free: 149 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches