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.001671/0.001671, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.001901/0.001901, allocations: 184.1 kB / 18.66 MB, free: 4.434 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.485/1.485, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001603/0.001603, allocations: 55.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09484/0.09645, allocations: 46.62 MB / 374.7 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.1789/0.2754, allocations: 9.706 MB / 384.4 MB, free: 8.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004958/0.2804, allocations: 2.739 MB / 387.1 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009471/0.2814, allocations: 59.91 kB / 387.2 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00683/0.2883, allocations: 3.77 MB / 390.9 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003454/0.2917, allocations: 1.066 MB / 392 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.2935, allocations: 0.8052 MB / 392.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00414/0.2977, allocations: 3.917 MB / 396.7 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0127/0.3104, allocations: 9.574 MB / 406.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004521/0.315, allocations: 2.206 MB / 408.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005017/0.32, allocations: 2.546 MB / 411 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001771/0.3218, allocations: 0.6039 MB / 411.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003089/0.3249, allocations: 0.8199 MB / 412.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001571/0.3265, allocations: 1.197 MB / 413.7 MB, free: 8.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004001/0.3305, allocations: 2.418 MB / 416.1 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.3407, allocations: 8.16 MB / 424.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3408, allocations: 0 / 424.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3408, allocations: 0 / 424.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002851/0.3411, allocations: 3.984 kB / 424.2 MB, free: 14.41 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.01557/0.3567, allocations: 5.25 MB / 429.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.3567, allocations: 11.97 kB / 429.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001345/0.3581, allocations: 0.6416 MB / 430.1 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01534/0.3734, allocations: 2.589 MB / 432.7 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004664/0.3781, allocations: 2.171 MB / 434.9 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003297/0.3785, allocations: 337.1 kB / 435.2 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00114/0.3797, allocations: 436 kB / 435.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01412/0.3938, allocations: 6.107 MB / 441.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001081/0.3939, allocations: 11.95 kB / 441.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005208/0.3945, allocations: 179.9 kB / 442 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002475/0.3947, allocations: 221.3 kB / 442.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01187/0.4066, allocations: 5.779 MB / 447.9 MB, free: 6.504 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03545/0.4421, allocations: 21.21 MB / 469.2 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/0.4523, allocations: 8.947 MB / 478.1 MB, free: 6.258 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001765/0.4541, allocations: 0.9765 MB / 479.1 MB, free: 5.285 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00569/0.4598, allocations: 3.55 MB / 482.6 MB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.4598, allocations: 42.72 kB / 482.7 MB, free: 1.387 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.735e-06/0.4598, allocations: 0 / 482.7 MB, free: 1.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001154/0.461, allocations: 0.6522 MB / 483.3 MB, free: 0.7305 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.4611, allocations: 59.41 kB / 483.4 MB, free: 0.6602 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002901/0.464, allocations: 1.987 MB / 485.4 MB, free: 14.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.083e-05/0.464, allocations: 29.7 kB / 485.4 MB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001723/0.4657, allocations: 2.272 MB / 487.7 MB, free: 12.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/0.466, allocations: 151.1 kB / 487.8 MB, free: 12.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008128/0.4668, allocations: 0.5436 MB / 488.4 MB, free: 11.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003095/0.4671, allocations: 349.9 kB / 488.7 MB, free: 11.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.4686, allocations: 0.8793 MB / 489.6 MB, free: 10.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002575/0.4712, allocations: 2.243 MB / 491.8 MB, free: 7.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003942/0.4751, allocations: 3.071 MB / 494.9 MB, free: 3.734 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-05/0.4752, allocations: 12 kB / 494.9 MB, free: 3.723 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.005192/0.4804, allocations: 3.13 MB / 498 MB, free: 0.5859 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.277e-05/0.4805, allocations: 39.2 kB / 498.1 MB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.847e-05/0.4805, allocations: 51.94 kB / 498.1 MB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.987e-05/0.4806, allocations: 64.78 kB / 498.2 MB, free: 448 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/0.4824, allocations: 0.5927 MB / 498.8 MB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.352e-05/0.4825, allocations: 95.66 kB / 498.9 MB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002329/0.4848, allocations: 417.2 kB / 499.3 MB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000234/0.4851, allocations: 148 kB / 499.4 MB, free: 15.2 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.002723/0.4878, allocations: 1.562 MB / 0.4893 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/0.4881, allocations: 135 kB / 0.4894 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.4892, allocations: 0.6173 MB / 0.49 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005127/0.4897, allocations: 313.5 kB / 0.4903 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4897, allocations: 0 / 0.4903 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.4897, allocations: 0 / 0.4903 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00671/0.4965, allocations: 3.984 MB / 0.4942 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.4965, allocations: 4 kB / 0.4942 GB, free: 8.379 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.4968, allocations: 52.5 kB / 0.4942 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.4968, allocations: 12 kB / 0.4942 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.4968, allocations: 12 kB / 0.4942 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.168e-06/0.4968, allocations: 7.984 kB / 0.4943 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/0.4968, allocations: 11.94 kB / 0.4943 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.4981, allocations: 0.8936 MB / 0.4951 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005424/0.4987, allocations: 260.1 kB / 0.4954 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.4988, allocations: 11.98 kB / 0.4954 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005605/0.4994, allocations: 44.02 kB / 0.4954 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.4995, allocations: 35.78 kB / 0.4955 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.4995, allocations: 16 kB / 0.4955 GB, free: 6.934 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001929/0.5014, allocations: 1.339 MB / 0.4968 GB, free: 5.598 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5014, allocations: 0 / 0.4968 GB, free: 5.598 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002632/0.5041, allocations: 0.9454 MB / 0.4977 GB, free: 4.648 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.001747/0.5058, allocations: 1.505 MB / 0.4992 GB, free: 3.059 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002711/0.5086, allocations: 1.669 MB / 0.5008 GB, free: 1.395 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.5086, allocations: 0 / 0.5008 GB, free: 1.395 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.5089, allocations: 185.4 kB / 0.501 GB, free: 1.215 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.5104, allocations: 304.7 kB / 0.5013 GB, free: 0.918 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02998/0.5404, allocations: 19.36 MB / 0.5202 GB, free: 11.78 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003108/0.5436, allocations: 2.895 MB / 0.523 GB, free: 8.852 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001898/0.5455, allocations: 0.7709 MB / 0.5238 GB, free: 8.074 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001667/0.5472, allocations: 1.214 MB / 0.525 GB, free: 6.863 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5472, allocations: 0 / 0.525 GB, free: 6.863 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2597/0.8069, allocations: 41.46 MB / 0.5654 GB, free: 149.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/11.01, allocations: 8.859 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