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.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.001444/0.001444, allocations: 109.9 kB / 21.18 MB, free: 0.6992 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.001692/0.001692, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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.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.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002499/0.002499, allocations: 56.25 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.277, allocations: 49.16 MB / 396.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.009947/0.287, allocations: 9.767 MB / 406.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00619/0.2932, allocations: 2.769 MB / 408.9 MB, free: 8 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.2947, allocations: 66.92 kB / 409 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008801/0.3035, allocations: 3.809 MB / 412.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004065/0.3076, allocations: 0.936 MB / 413.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002762/0.3104, allocations: 0.9531 MB / 414.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005737/0.3161, allocations: 3.936 MB / 418.6 MB, free: 9.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01233/0.3284, allocations: 6.278 MB / 424.9 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005553/0.334, allocations: 2.263 MB / 427.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005113/0.3391, allocations: 2.562 MB / 429.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001845/0.3409, allocations: 0.6055 MB / 430.3 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003106/0.3441, allocations: 0.8162 MB / 431.1 MB, free: 428 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001929/0.346, allocations: 1.204 MB / 432.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004796/0.3508, allocations: 2.424 MB / 434.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01141/0.3622, allocations: 8.158 MB / 442.9 MB, free: 4.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.3622, allocations: 0 / 442.9 MB, free: 4.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.3622, allocations: 0 / 442.9 MB, free: 4.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002588/0.3625, allocations: 0 / 442.9 MB, free: 4.598 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.0153/0.3778, allocations: 5.183 MB / 448.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.3778, allocations: 19.92 kB / 448.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001473/0.3793, allocations: 0.6416 MB / 448.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01531/0.3946, allocations: 2.585 MB / 451.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00508/0.3997, allocations: 2.157 MB / 453.5 MB, free: 9.906 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000339/0.4, allocations: 337.1 kB / 453.8 MB, free: 9.574 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001101/0.4011, allocations: 440 kB / 454.2 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01391/0.415, allocations: 6.107 MB / 460.4 MB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001243/0.4151, allocations: 15.94 kB / 460.4 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007126/0.4159, allocations: 184 kB / 460.5 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002426/0.4161, allocations: 213.3 kB / 460.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01245/0.4286, allocations: 5.779 MB / 466.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03435/0.4629, allocations: 20.21 MB / 486.7 MB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006017/0.4689, allocations: 2.757 MB / 489.5 MB, free: 5.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/0.4705, allocations: 0.8945 MB / 490.4 MB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005416/0.4759, allocations: 2.504 MB / 492.9 MB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.4759, allocations: 42.73 kB / 492.9 MB, free: 1.906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 3.266e-06/0.4759, allocations: 0 / 492.9 MB, free: 1.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001204/0.4771, allocations: 0.6499 MB / 493.6 MB, free: 1.254 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.4772, allocations: 55.41 kB / 493.6 MB, free: 1.188 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003039/0.4802, allocations: 1.987 MB / 495.6 MB, free: 15.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/0.4803, allocations: 33.7 kB / 495.7 MB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001841/0.4821, allocations: 2.268 MB / 497.9 MB, free: 12.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.4823, allocations: 147.1 kB / 498.1 MB, free: 12.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008137/0.4831, allocations: 0.5514 MB / 498.6 MB, free: 12.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.4833, allocations: 349.9 kB / 499 MB, free: 11.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.4846, allocations: 0.8676 MB / 499.8 MB, free: 10.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00243/0.487, allocations: 2.255 MB / 0.4903 GB, free: 8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003582/0.4906, allocations: 3.067 MB / 0.4933 GB, free: 4.262 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-05/0.4906, allocations: 16 kB / 0.4933 GB, free: 4.246 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.0051/0.4957, allocations: 3.134 MB / 0.4964 GB, free: 1.105 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.4958, allocations: 24.62 kB / 0.4964 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.442e-05/0.4958, allocations: 48.09 kB / 0.4965 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.823e-05/0.4959, allocations: 68 kB / 0.4965 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.4977, allocations: 0.5888 MB / 0.4971 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.544e-05/0.4978, allocations: 99.58 kB / 0.4972 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/0.4997, allocations: 413.5 kB / 0.4976 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/0.4999, allocations: 144 kB / 0.4977 GB, free: 15.73 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.002378/0.5023, allocations: 1.562 MB / 0.4993 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.5025, allocations: 146.8 kB / 0.4994 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.5035, allocations: 0.6019 MB / 0.5 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004404/0.5039, allocations: 325.4 kB / 0.5003 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.504, allocations: 4 kB / 0.5003 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.504, allocations: 7.984 kB / 0.5003 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006297/0.5103, allocations: 3.817 MB / 0.504 GB, free: 9.113 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.5103, allocations: 12.03 kB / 0.504 GB, free: 9.102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.5105, allocations: 55.91 kB / 0.5041 GB, free: 9.047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-05/0.5105, allocations: 8 kB / 0.5041 GB, free: 9.039 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.5106, allocations: 12 kB / 0.5041 GB, free: 9.027 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/0.5106, allocations: 11.92 kB / 0.5041 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.5106, allocations: 4 kB / 0.5041 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.5118, allocations: 0.8977 MB / 0.505 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000483/0.5123, allocations: 203 kB / 0.5052 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.5124, allocations: 15.98 kB / 0.5052 GB, free: 7.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005569/0.513, allocations: 39.95 kB / 0.5053 GB, free: 7.781 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.513, allocations: 35.77 kB / 0.5053 GB, free: 7.746 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.5131, allocations: 12 kB / 0.5053 GB, free: 7.734 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001901/0.515, allocations: 1.343 MB / 0.5066 GB, free: 6.395 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.515, allocations: 0 / 0.5066 GB, free: 6.395 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002622/0.5176, allocations: 0.9299 MB / 0.5075 GB, free: 5.461 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.001684/0.5193, allocations: 1.485 MB / 0.509 GB, free: 3.891 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002737/0.522, allocations: 1.579 MB / 0.5105 GB, free: 2.312 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/0.522, allocations: 4 kB / 0.5105 GB, free: 2.309 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.5223, allocations: 182.1 kB / 0.5107 GB, free: 2.133 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.5239, allocations: 301.8 kB / 0.511 GB, free: 1.836 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03121/0.5551, allocations: 19.36 MB / 0.5299 GB, free: 12.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003571/0.5587, allocations: 2.899 MB / 0.5327 GB, free: 9.766 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001895/0.5606, allocations: 0.7709 MB / 0.5335 GB, free: 8.988 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001633/0.5622, allocations: 1.218 MB / 0.5347 GB, free: 7.773 MB / 462.1 MB Notification: Performance of SimCode: time 2.324e-06/0.5622, allocations: 0 / 0.5347 GB, free: 7.773 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2862/0.8484, allocations: 43.82 MB / 0.5775 GB, free: 140.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/14.09, allocations: 1.969 kB / 0.5775 GB, free: 140.3 MB / 478.1 MB " [Timeout remaining time 646] (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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.50707959599822]