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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 120.1 kB / 17.78 MB, free: 5.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 198.8 kB / 20.73 MB, free: 2.289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 51.92 kB / 365.6 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1103, allocations: 52.14 MB / 417.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01136/0.1217, allocations: 9.181 MB / 427 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005883/0.1275, allocations: 2.577 MB / 429.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.1289, allocations: 79.62 kB / 429.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008717/0.1377, allocations: 3.76 MB / 433.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003647/0.1413, allocations: 0.9124 MB / 434.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.1436, allocations: 0.794 MB / 435.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004917/0.1485, allocations: 3.63 MB / 438.7 MB, free: 7.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01032/0.1588, allocations: 7.379 MB / 446.1 MB, free: 220 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2102/0.3691, allocations: 2.128 MB / 448.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003007/0.3721, allocations: 2.383 MB / 450.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009385/0.373, allocations: 0.5844 MB / 451.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.3748, allocations: 0.7949 MB / 452 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.3759, allocations: 1.108 MB / 453.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002231/0.3781, allocations: 2.278 MB / 455.4 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009625/0.3877, allocations: 7.907 MB / 463.3 MB, free: 9.938 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3877, allocations: 8.281 kB / 463.3 MB, free: 9.934 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3877, allocations: 0 / 463.3 MB, free: 9.934 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002456/0.388, allocations: 0 / 463.3 MB, free: 9.934 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.01501/0.403, allocations: 4.932 MB / 468.2 MB, free: 7.398 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.4031, allocations: 9.062 kB / 468.2 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001452/0.4045, allocations: 0.6008 MB / 468.8 MB, free: 6.961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00817/0.4127, allocations: 1.276 MB / 470.1 MB, free: 6.398 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005347/0.418, allocations: 2.322 MB / 472.4 MB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003745/0.4184, allocations: 321.2 kB / 472.7 MB, free: 4.727 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001629/0.42, allocations: 410.8 kB / 473.1 MB, free: 4.594 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01702/0.437, allocations: 5.47 MB / 478.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002181/0.4373, allocations: 0.9688 kB / 478.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001314/0.4386, allocations: 174.7 kB / 478.8 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001935/0.4388, allocations: 178.6 kB / 479 MB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01213/0.4509, allocations: 4.8 MB / 483.8 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03731/0.4882, allocations: 19.11 MB / 0.4911 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005515/0.4937, allocations: 3.783 MB / 0.4948 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/0.4952, allocations: 0.7173 MB / 0.4955 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002091/0.4954, allocations: 113.2 kB / 0.4956 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.4954, allocations: 39.56 kB / 0.4956 GB, free: 8.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 3.356e-06/0.4954, allocations: 0 / 0.4956 GB, free: 8.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=100): time 0.00289/0.4983, allocations: 1.553 MB / 0.4971 GB, free: 7.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.4984, allocations: 68.39 kB / 0.4972 GB, free: 7.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002796/0.5012, allocations: 1.342 MB / 0.4985 GB, free: 5.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.999e-05/0.5013, allocations: 41.7 kB / 0.4985 GB, free: 5.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001499/0.5028, allocations: 1.826 MB / 0.5003 GB, free: 3.941 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004177/0.5032, allocations: 383.8 kB / 0.5007 GB, free: 3.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008326/0.504, allocations: 447.7 kB / 0.5011 GB, free: 3.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.5042, allocations: 353.9 kB / 0.5015 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/0.5057, allocations: 0.8279 MB / 0.5023 GB, free: 1.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.508, allocations: 1.818 MB / 0.504 GB, free: 15.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00375/0.5117, allocations: 2.806 MB / 0.5068 GB, free: 12.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-05/0.5118, allocations: 12 kB / 0.5068 GB, free: 12.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004835/0.5166, allocations: 2.731 MB / 0.5095 GB, free: 9.977 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.46e-05/0.5167, allocations: 30.11 kB / 0.5095 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.003e-05/0.5168, allocations: 32 kB / 0.5095 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.786e-05/0.5168, allocations: 51.56 kB / 0.5096 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.5186, allocations: 0.5232 MB / 0.5101 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-05/0.5187, allocations: 66.61 kB / 0.5101 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.5204, allocations: 294 kB / 0.5104 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/0.5206, allocations: 116 kB / 0.5105 GB, free: 8.934 MB / 414.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.002925/0.5236, allocations: 1.488 MB / 0.512 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003529/0.5239, allocations: 127.2 kB / 0.5121 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002726/0.5267, allocations: 1.449 MB / 0.5135 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001632/0.5283, allocations: 1.041 MB / 0.5145 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.5283, allocations: 0 / 0.5145 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.97e-05/0.5283, allocations: 3.984 kB / 0.5145 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02004/0.5484, allocations: 12.29 MB / 0.5266 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.348e-05/0.5484, allocations: 20 kB / 0.5266 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009614/0.5494, allocations: 241.3 kB / 0.5268 GB, free: 7.781 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.643e-05/0.5494, allocations: 32.86 kB / 0.5268 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001344/0.5496, allocations: 48 kB / 0.5269 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-05/0.5496, allocations: 39.2 kB / 0.5269 GB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-05/0.5496, allocations: 31.22 kB / 0.5269 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003876/0.5535, allocations: 2.668 MB / 0.5296 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000768/0.5543, allocations: 339.9 kB / 0.5299 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003294/0.5546, allocations: 47.98 kB / 0.5299 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.5556, allocations: 67.94 kB / 0.53 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002198/0.5558, allocations: 145.5 kB / 0.5301 GB, free: 4.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.5559, allocations: 60 kB / 0.5302 GB, free: 4.055 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001894/0.5578, allocations: 0.9062 MB / 0.5311 GB, free: 3.141 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5578, allocations: 4 kB / 0.5311 GB, free: 3.137 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003304/0.5611, allocations: 0.8813 MB / 0.5319 GB, free: 2.254 MB / 430.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.004531/0.5657, allocations: 3.297 MB / 0.5352 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003326/0.569, allocations: 1.83 MB / 0.5369 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/0.569, allocations: 4 kB / 0.5369 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009767/0.57, allocations: 0.6124 MB / 0.5375 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/0.5724, allocations: 345.7 kB / 0.5379 GB, free: 12.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03475/0.6072, allocations: 18.64 MB / 0.5561 GB, free: 7.938 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004609/0.6118, allocations: 2.805 MB / 0.5588 GB, free: 5.098 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001961/0.6138, allocations: 0.7673 MB / 0.5596 GB, free: 4.332 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002016/0.6158, allocations: 1.14 MB / 0.5607 GB, free: 3.191 MB / 462.1 MB Notification: Performance of SimCode: time 1.462e-06/0.6158, allocations: 4 kB / 0.5607 GB, free: 3.188 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08737/0.7032, allocations: 39.68 MB / 0.5994 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10/10.71, allocations: 15.69 kB / 0.5994 GB, free: 11.74 MB / 0.4981 GB " [Timeout remaining time 649] (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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.17342924233526]