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.001257/0.001257, allocations: 108.8 kB / 17.05 MB, free: 6.059 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.001179/0.001179, allocations: 193.4 kB / 17.99 MB, free: 5.156 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.437/1.437, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 43.92 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2627, allocations: 49.43 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01135/0.2741, allocations: 9.136 MB / 409.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005838/0.28, allocations: 2.569 MB / 411.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000909/0.2809, allocations: 67.81 kB / 412 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00797/0.2889, allocations: 3.743 MB / 415.7 MB, free: 9.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002879/0.2918, allocations: 0.8971 MB / 416.6 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.2936, allocations: 0.7997 MB / 417.4 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004191/0.2978, allocations: 3.63 MB / 421.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01167/0.3095, allocations: 9.505 MB / 430.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002831/0.3124, allocations: 2.092 MB / 432.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003145/0.3155, allocations: 2.379 MB / 435 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007913/0.3163, allocations: 0.582 MB / 435.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.3179, allocations: 0.8044 MB / 436.4 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.3189, allocations: 1.099 MB / 437.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002577/0.3215, allocations: 2.284 MB / 439.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00837/0.3299, allocations: 7.904 MB / 447.7 MB, free: 9.125 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3299, allocations: 4 kB / 447.7 MB, free: 9.121 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3299, allocations: 0 / 447.7 MB, free: 9.121 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001537/0.3301, allocations: 0 / 447.7 MB, free: 9.121 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.01191/0.342, allocations: 4.933 MB / 452.7 MB, free: 4.113 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3421, allocations: 8.031 kB / 452.7 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000951/0.343, allocations: 0.5923 MB / 453.3 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00735/0.3504, allocations: 1.286 MB / 454.5 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004401/0.3548, allocations: 2.323 MB / 456.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002645/0.3551, allocations: 308.4 kB / 457.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007077/0.3558, allocations: 412 kB / 457.6 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01035/0.3662, allocations: 5.469 MB / 463 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-05/0.3663, allocations: 3.953 kB / 463 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004219/0.3667, allocations: 179.9 kB / 463.2 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001795/0.3669, allocations: 180.6 kB / 463.4 MB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008701/0.3756, allocations: 4.8 MB / 468.2 MB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02756/0.4032, allocations: 19.09 MB / 487.3 MB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005313/0.4085, allocations: 3.887 MB / 491.2 MB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.4099, allocations: 0.7776 MB / 491.9 MB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/0.41, allocations: 114.1 kB / 492.1 MB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.4101, allocations: 43.56 kB / 492.1 MB, free: 11.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 2.785e-06/0.4101, allocations: 4 kB / 492.1 MB, free: 11.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002498/0.4126, allocations: 1.558 MB / 493.7 MB, free: 9.828 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.4127, allocations: 64.41 kB / 493.7 MB, free: 9.754 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.4145, allocations: 1.33 MB / 495.1 MB, free: 8.406 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.225e-05/0.4146, allocations: 49.64 kB / 495.1 MB, free: 8.352 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001285/0.4159, allocations: 1.823 MB / 496.9 MB, free: 6.508 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003172/0.4162, allocations: 377 kB / 497.3 MB, free: 6.137 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006351/0.4169, allocations: 451.7 kB / 497.7 MB, free: 5.688 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.4171, allocations: 353.9 kB / 498.1 MB, free: 5.336 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.4183, allocations: 0.8356 MB / 498.9 MB, free: 4.496 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002096/0.4204, allocations: 1.827 MB / 0.489 GB, free: 2.188 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003443/0.4239, allocations: 2.79 MB / 0.4917 GB, free: 14.92 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.628e-05/0.4239, allocations: 8 kB / 0.4917 GB, free: 14.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004081/0.428, allocations: 2.743 MB / 0.4944 GB, free: 12.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.428, allocations: 24.03 kB / 0.4944 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.136e-05/0.4281, allocations: 35.98 kB / 0.4945 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.639e-05/0.4282, allocations: 48 kB / 0.4945 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.4298, allocations: 0.5186 MB / 0.495 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.234e-05/0.4299, allocations: 71.72 kB / 0.4951 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.4311, allocations: 294 kB / 0.4954 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.4313, allocations: 123.9 kB / 0.4955 GB, free: 11.06 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.002309/0.4336, allocations: 1.48 MB / 0.4969 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/0.4338, allocations: 127.2 kB / 0.4971 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002397/0.4362, allocations: 1.458 MB / 0.4985 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001526/0.4377, allocations: 1.033 MB / 0.4995 GB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4378, allocations: 0 / 0.4995 GB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.4378, allocations: 7.984 kB / 0.4995 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01643/0.4542, allocations: 12.29 MB / 0.5115 GB, free: 9.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.691e-05/0.4543, allocations: 24 kB / 0.5115 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008112/0.4551, allocations: 227.5 kB / 0.5117 GB, free: 9.684 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.867e-05/0.4551, allocations: 28 kB / 0.5118 GB, free: 9.656 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-05/0.4552, allocations: 48 kB / 0.5118 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.624e-05/0.4553, allocations: 39.86 kB / 0.5119 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.56e-05/0.4553, allocations: 36.34 kB / 0.5119 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003557/0.4589, allocations: 2.664 MB / 0.5145 GB, free: 6.562 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006288/0.4595, allocations: 343.9 kB / 0.5148 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.4597, allocations: 43.98 kB / 0.5149 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007421/0.4604, allocations: 71.94 kB / 0.5149 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/0.4606, allocations: 147.4 kB / 0.5151 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-05/0.4607, allocations: 56 kB / 0.5151 GB, free: 5.895 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00131/0.4621, allocations: 0.9062 MB / 0.516 GB, free: 4.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4621, allocations: 0 / 0.516 GB, free: 4.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002523/0.4646, allocations: 0.8793 MB / 0.5169 GB, free: 4.098 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.00408/0.4687, allocations: 3.313 MB / 0.5201 GB, free: 484 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003233/0.4719, allocations: 1.918 MB / 0.522 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/0.472, allocations: 0.9375 kB / 0.522 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009628/0.4729, allocations: 0.6316 MB / 0.5226 GB, free: 13.92 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/0.475, allocations: 341.5 kB / 0.5229 GB, free: 13.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2232/0.6983, allocations: 18.62 MB / 0.5411 GB, free: 126.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00199/0.7003, allocations: 2.812 MB / 0.5438 GB, free: 125.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001386/0.7017, allocations: 0.7612 MB / 0.5446 GB, free: 125.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/0.7027, allocations: 1.142 MB / 0.5457 GB, free: 124.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.253e-06/0.7027, allocations: 0 / 0.5457 GB, free: 124.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0615/0.7642, allocations: 39.35 MB / 0.5841 GB, free: 89.77 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.77, allocations: 14.86 kB / 0.5841 GB, free: 89.75 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