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.00128/0.00128, allocations: 104.8 kB / 16.92 MB, free: 6.145 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.001338/0.001338, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.002/2.002, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 41.69 kB / 300.7 MB, free: 5.754 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1489, allocations: 49.45 MB / 350.2 MB, free: 4.301 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.02185/0.1708, allocations: 9.117 MB / 359.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.1809, allocations: 2.569 MB / 361.9 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002122/0.1831, allocations: 63.81 kB / 361.9 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01444/0.1976, allocations: 3.744 MB / 365.7 MB, free: 4.738 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005573/0.2032, allocations: 0.901 MB / 366.6 MB, free: 3.832 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003859/0.2071, allocations: 0.7933 MB / 367.4 MB, free: 3.039 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.25/0.4571, allocations: 3.59 MB / 370.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01936/0.4765, allocations: 9.55 MB / 380.5 MB, free: 7.645 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005455/0.482, allocations: 2.081 MB / 382.6 MB, free: 6.762 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00615/0.4882, allocations: 2.38 MB / 385 MB, free: 5.621 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002524/0.4908, allocations: 0.5861 MB / 385.5 MB, free: 5.621 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005332/0.4961, allocations: 0.795 MB / 386.3 MB, free: 5.566 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003168/0.4994, allocations: 1.11 MB / 387.5 MB, free: 4.789 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006093/0.5055, allocations: 2.277 MB / 389.7 MB, free: 3.238 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.5176, allocations: 7.836 MB / 397.6 MB, free: 15.69 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.5177, allocations: 2.75 kB / 397.6 MB, free: 15.69 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5177, allocations: 0 / 397.6 MB, free: 15.69 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002382/0.518, allocations: 0 / 397.6 MB, free: 15.69 MB / 318.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.02526/0.5432, allocations: 4.855 MB / 402.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.057e-05/0.5433, allocations: 11.89 kB / 402.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002468/0.5458, allocations: 0.6 MB / 403 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01702/0.5629, allocations: 1.272 MB / 404.3 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006892/0.5698, allocations: 2.221 MB / 406.5 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004506/0.5703, allocations: 323.6 kB / 406.8 MB, free: 7.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001669/0.572, allocations: 404 kB / 407.2 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02083/0.5928, allocations: 5.472 MB / 412.7 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002255/0.5931, allocations: 15.91 kB / 412.7 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001457/0.5946, allocations: 168 kB / 412.9 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002964/0.5949, allocations: 180.6 kB / 413.1 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01855/0.6135, allocations: 4.792 MB / 417.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05437/0.6679, allocations: 19.3 MB / 437.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008572/0.6766, allocations: 3.887 MB / 441 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/0.6786, allocations: 0.7742 MB / 441.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002254/0.6788, allocations: 113 kB / 441.9 MB, free: 3.672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/0.6789, allocations: 47.56 kB / 442 MB, free: 3.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=100): time 5.09e-06/0.6789, allocations: 0 / 442 MB, free: 3.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.003537/0.6825, allocations: 1.548 MB / 443.5 MB, free: 2.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.6826, allocations: 68.39 kB / 443.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003799/0.6864, allocations: 1.33 MB / 444.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.6865, allocations: 41.7 kB / 445 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001826/0.6884, allocations: 1.764 MB / 446.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000497/0.6889, allocations: 362 kB / 447.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001144/0.69, allocations: 451.3 kB / 447.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.6902, allocations: 353.9 kB / 447.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/0.6918, allocations: 0.8343 MB / 448.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002182/0.694, allocations: 1.82 MB / 450.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00363/0.6977, allocations: 2.792 MB / 453.3 MB, free: 7.406 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-05/0.6977, allocations: 10.91 kB / 453.3 MB, free: 7.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004525/0.7023, allocations: 2.731 MB / 456 MB, free: 4.863 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.587e-05/0.7023, allocations: 23.98 kB / 456.1 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.158e-05/0.7024, allocations: 35.94 kB / 456.1 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.19e-05/0.7025, allocations: 48 kB / 456.2 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/0.7043, allocations: 0.5183 MB / 456.7 MB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.779e-05/0.7044, allocations: 66.14 kB / 456.7 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.7058, allocations: 293.3 kB / 457 MB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/0.7061, allocations: 116 kB / 457.1 MB, free: 3.824 MB / 366.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.002426/0.7085, allocations: 1.486 MB / 458.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.7087, allocations: 118.5 kB / 458.7 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.7111, allocations: 1.469 MB / 460.2 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001518/0.7127, allocations: 1.033 MB / 461.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.7127, allocations: 4 kB / 461.2 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.7127, allocations: 3.984 kB / 461.2 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01657/0.7293, allocations: 12.28 MB / 473.5 MB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.381e-05/0.7294, allocations: 24 kB / 473.6 MB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009013/0.7303, allocations: 226.2 kB / 473.8 MB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.244e-05/0.7303, allocations: 31.98 kB / 473.8 MB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.922e-05/0.7304, allocations: 48 kB / 473.9 MB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-05/0.7305, allocations: 42.86 kB / 473.9 MB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.097e-05/0.7305, allocations: 31.5 kB / 473.9 MB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003378/0.7339, allocations: 2.65 MB / 476.6 MB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006315/0.7345, allocations: 331.2 kB / 476.9 MB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002791/0.7348, allocations: 47.89 kB / 476.9 MB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000908/0.7357, allocations: 75.94 kB / 477 MB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.7359, allocations: 138.1 kB / 477.2 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.7361, allocations: 59.98 kB / 477.2 MB, free: 14.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001444/0.7375, allocations: 0.91 MB / 478.1 MB, free: 14.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7375, allocations: 0 / 478.1 MB, free: 14.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002759/0.7403, allocations: 0.874 MB / 479 MB, free: 13.17 MB / 398.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.003883/0.7442, allocations: 3.298 MB / 482.3 MB, free: 9.609 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003163/0.7474, allocations: 1.913 MB / 484.2 MB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/0.7474, allocations: 4 kB / 484.2 MB, free: 7.824 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009406/0.7483, allocations: 0.6368 MB / 484.9 MB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/0.7506, allocations: 346.9 kB / 485.2 MB, free: 6.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02926/0.7798, allocations: 19.14 MB / 0.4925 GB, free: 2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003505/0.7834, allocations: 2.809 MB / 0.4953 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001967/0.7854, allocations: 0.7615 MB / 0.496 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/0.7869, allocations: 1.14 MB / 0.4971 GB, free: 13.25 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.7869, allocations: 0 / 0.4971 GB, free: 13.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3264/1.113, allocations: 38.13 MB / 0.5344 GB, free: 150.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.62, allocations: 7.453 kB / 0.5344 GB, free: 150.9 MB / 446.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