Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 51.86 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1125, allocations: 53.33 MB / 426.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.2255/0.338, allocations: 9.174 MB / 435.5 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005027/0.3431, allocations: 2.654 MB / 438.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009511/0.344, allocations: 79.97 kB / 438.2 MB, free: 5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007401/0.3514, allocations: 3.766 MB / 442 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002923/0.3543, allocations: 0.7388 MB / 442.7 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.3565, allocations: 0.9339 MB / 443.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004556/0.361, allocations: 3.631 MB / 447.3 MB, free: 228 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01111/0.3721, allocations: 7.374 MB / 454.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004251/0.3764, allocations: 2.139 MB / 456.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005202/0.3816, allocations: 2.381 MB / 459.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002148/0.3837, allocations: 0.5845 MB / 459.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002947/0.3867, allocations: 0.815 MB / 460.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001554/0.3882, allocations: 1.113 MB / 461.7 MB, free: 9.508 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004221/0.3924, allocations: 2.28 MB / 464 MB, free: 7.934 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.4025, allocations: 7.922 MB / 471.9 MB, free: 2.426 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.4025, allocations: 5.438 kB / 471.9 MB, free: 2.422 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4025, allocations: 3.938 kB / 471.9 MB, free: 2.418 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001954/0.4027, allocations: 0 / 471.9 MB, free: 2.418 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.01618/0.4189, allocations: 4.938 MB / 476.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.4189, allocations: 8.031 kB / 476.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001746/0.4207, allocations: 0.5981 MB / 477.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008643/0.4293, allocations: 1.282 MB / 478.7 MB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005313/0.4346, allocations: 2.327 MB / 481.1 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003664/0.435, allocations: 316.4 kB / 481.4 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001439/0.4364, allocations: 408 kB / 481.8 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01442/0.4509, allocations: 5.481 MB / 487.2 MB, free: 3.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001236/0.451, allocations: 4 kB / 487.3 MB, free: 3.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009197/0.4519, allocations: 171.4 kB / 487.4 MB, free: 3.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002128/0.4521, allocations: 180.6 kB / 487.6 MB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01085/0.463, allocations: 4.804 MB / 492.4 MB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0371/0.5001, allocations: 19.35 MB / 0.4998 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00576/0.5058, allocations: 3.796 MB / 0.5035 GB, free: 6.285 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.5072, allocations: 0.7106 MB / 0.5042 GB, free: 5.574 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002644/0.5075, allocations: 203.1 kB / 0.5043 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.5075, allocations: 51.5 kB / 0.5044 GB, free: 5.281 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.105e-06/0.5075, allocations: 0 / 0.5044 GB, free: 5.281 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.0028/0.5103, allocations: 1.562 MB / 0.5059 GB, free: 3.715 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.5104, allocations: 64.41 kB / 0.506 GB, free: 3.641 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002575/0.5129, allocations: 1.338 MB / 0.5073 GB, free: 2.285 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.917e-05/0.513, allocations: 41.7 kB / 0.5073 GB, free: 2.238 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001531/0.5146, allocations: 1.823 MB / 0.5091 GB, free: 404 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000399/0.515, allocations: 376.9 kB / 0.5095 GB, free: 24 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008296/0.5158, allocations: 463.6 kB / 0.5099 GB, free: 15.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.516, allocations: 353.9 kB / 0.5102 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.5174, allocations: 0.8279 MB / 0.5111 GB, free: 14.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002483/0.5199, allocations: 1.831 MB / 0.5128 GB, free: 12.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003739/0.5237, allocations: 2.798 MB / 0.5156 GB, free: 8.789 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-05/0.5237, allocations: 11.94 kB / 0.5156 GB, free: 8.777 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004672/0.5284, allocations: 2.747 MB / 0.5183 GB, free: 6.023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/0.5284, allocations: 24.66 kB / 0.5183 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.594e-05/0.5285, allocations: 35.94 kB / 0.5183 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-05/0.5285, allocations: 48 kB / 0.5184 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/0.5303, allocations: 0.5186 MB / 0.5189 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.609e-05/0.5303, allocations: 67.78 kB / 0.5189 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.5318, allocations: 302 kB / 0.5192 GB, free: 5.035 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/0.532, allocations: 116 kB / 0.5193 GB, free: 4.922 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.002523/0.5345, allocations: 1.484 MB / 0.5208 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003/0.5348, allocations: 127.2 kB / 0.5209 GB, free: 3.301 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002624/0.5374, allocations: 1.454 MB / 0.5223 GB, free: 1.824 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001581/0.539, allocations: 1.041 MB / 0.5234 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.539, allocations: 0 / 0.5234 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.539, allocations: 7.984 kB / 0.5234 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02005/0.5591, allocations: 13.76 MB / 0.5368 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.338e-05/0.5591, allocations: 24 kB / 0.5368 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009415/0.5601, allocations: 235.5 kB / 0.537 GB, free: 1.734 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.901e-05/0.5601, allocations: 28 kB / 0.5371 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.5602, allocations: 47.98 kB / 0.5371 GB, free: 1.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.844e-05/0.5603, allocations: 39.86 kB / 0.5372 GB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.964e-05/0.5603, allocations: 35.81 kB / 0.5372 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004005/0.5643, allocations: 2.675 MB / 0.5398 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008018/0.5651, allocations: 339.9 kB / 0.5401 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003195/0.5654, allocations: 43.98 kB / 0.5402 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.5664, allocations: 71.94 kB / 0.5402 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/0.5667, allocations: 143.4 kB / 0.5404 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.5668, allocations: 59.98 kB / 0.5404 GB, free: 13.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001728/0.5685, allocations: 0.9062 MB / 0.5413 GB, free: 13.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5685, allocations: 3.938 kB / 0.5413 GB, free: 13.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003248/0.5717, allocations: 0.8754 MB / 0.5422 GB, free: 12.14 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.004365/0.5761, allocations: 3.313 MB / 0.5454 GB, free: 8.508 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003313/0.5794, allocations: 1.848 MB / 0.5472 GB, free: 6.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/0.5794, allocations: 4 kB / 0.5472 GB, free: 6.656 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009761/0.5804, allocations: 0.6184 MB / 0.5478 GB, free: 6.043 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/0.5828, allocations: 344.5 kB / 0.5481 GB, free: 5.715 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03463/0.6174, allocations: 18.6 MB / 0.5663 GB, free: 1.395 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004519/0.6219, allocations: 2.805 MB / 0.569 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001911/0.6238, allocations: 0.7616 MB / 0.5698 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001853/0.6257, allocations: 1.151 MB / 0.5709 GB, free: 12.63 MB / 494.1 MB Notification: Performance of SimCode: time 1.553e-06/0.6257, allocations: 0 / 0.5709 GB, free: 12.63 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08918/0.7149, allocations: 39.69 MB / 0.6097 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/11.06, allocations: 3.75 kB / 0.6097 GB, free: 5.148 MB / 0.5137 GB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.828621181994095]