Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.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 3.2.3+maint.om/package.mo", uses=false) 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.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.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",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.001556/0.001556, allocations: 102.9 kB / 17.58 MB, free: 5.418 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.001654/0.001654, allocations: 191.9 kB / 18.51 MB, free: 4.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 52.39 kB / 280.8 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07936/0.08052, allocations: 46.63 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01026/0.09082, allocations: 10.08 MB / 337.5 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005058/0.09591, allocations: 2.811 MB / 340.3 MB, free: 7.426 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008023/0.09677, allocations: 63.81 kB / 340.3 MB, free: 7.363 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00849/0.1053, allocations: 4.208 MB / 344.5 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003262/0.1085, allocations: 1.041 MB / 345.6 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.1106, allocations: 0.8297 MB / 346.4 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004382/0.115, allocations: 4.249 MB / 350.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01283/0.1278, allocations: 11.04 MB / 361.7 MB, free: 1.832 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002929/0.1308, allocations: 2.451 MB / 364.2 MB, free: 15.38 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00366/0.1345, allocations: 2.791 MB / 366.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001074/0.1356, allocations: 0.6758 MB / 367.6 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.1373, allocations: 0.8904 MB / 368.5 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001098/0.1384, allocations: 1.321 MB / 369.8 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002851/0.1412, allocations: 2.669 MB / 372.5 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1529/0.2941, allocations: 9.015 MB / 381.5 MB, free: 29.88 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2942, allocations: 0 / 381.5 MB, free: 29.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.2942, allocations: 0 / 381.5 MB, free: 29.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001924/0.2944, allocations: 0.8438 kB / 381.5 MB, free: 29.88 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01197/0.3064, allocations: 5.575 MB / 387.1 MB, free: 28.4 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3064, allocations: 9.219 kB / 387.1 MB, free: 28.4 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009264/0.3073, allocations: 0.6919 MB / 387.8 MB, free: 28.33 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01284/0.3202, allocations: 2.391 MB / 390.2 MB, free: 28.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003583/0.3238, allocations: 2.378 MB / 392.6 MB, free: 27.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002297/0.324, allocations: 364.9 kB / 392.9 MB, free: 27.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007122/0.3248, allocations: 481.7 kB / 393.4 MB, free: 27.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01752/0.3423, allocations: 6.636 MB / 400 MB, free: 24.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001417/0.3425, allocations: 2.562 kB / 400 MB, free: 24.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007942/0.3433, allocations: 202.6 kB / 400.2 MB, free: 24.08 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000285/0.3436, allocations: 235.2 kB / 400.5 MB, free: 24.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01197/0.3555, allocations: 6.112 MB / 406.6 MB, free: 20.86 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02925/0.3848, allocations: 22.65 MB / 429.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/0.3955, allocations: 10.78 MB / 440 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.3968, allocations: 0.8149 MB / 440.8 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005147/0.402, allocations: 3.399 MB / 444.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.4021, allocations: 34.56 kB / 444.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.164e-06/0.4021, allocations: 0 / 444.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005732/0.4027, allocations: 230.5 kB / 444.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.4027, allocations: 51.41 kB / 444.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003358/0.4061, allocations: 2.15 MB / 446.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.4061, allocations: 25.7 kB / 446.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001786/0.4079, allocations: 2.379 MB / 449.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.886e-05/0.408, allocations: 79.59 kB / 449.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007944/0.4088, allocations: 0.5388 MB / 449.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.409, allocations: 357.9 kB / 450 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.4102, allocations: 0.8115 MB / 450.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002311/0.4125, allocations: 2.24 MB / 453.1 MB, free: 3.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003397/0.4159, allocations: 2.965 MB / 456.1 MB, free: 456 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-05/0.416, allocations: 12 kB / 456.1 MB, free: 444 kB / 350.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.005034/0.421, allocations: 3.009 MB / 459.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.372e-05/0.4211, allocations: 28 kB / 459.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001018/0.4212, allocations: 48 kB / 459.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.45e-05/0.4213, allocations: 68 kB / 459.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.423, allocations: 0.5738 MB / 459.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001191/0.4231, allocations: 104.7 kB / 459.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002607/0.4257, allocations: 400.7 kB / 460.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002427/0.426, allocations: 148 kB / 460.4 MB, free: 12.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (307): * Single equations (assignments): 306 * 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.003508/0.4295, allocations: 1.727 MB / 462.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000307/0.4298, allocations: 130.3 kB / 462.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004401/0.4302, allocations: 246.8 kB / 462.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001125/0.4304, allocations: 97.03 kB / 462.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.4304, allocations: 0 / 462.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.4304, allocations: 3.938 kB / 462.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005542/0.4359, allocations: 3.044 MB / 465.7 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.436, allocations: 3.938 kB / 465.7 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.586e-05/0.436, allocations: 15.98 kB / 465.7 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.4361, allocations: 7.922 kB / 465.7 MB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.4361, allocations: 8.031 kB / 465.7 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.4361, allocations: 384 / 465.7 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4361, allocations: 4 kB / 465.7 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004237/0.4365, allocations: 365.3 kB / 466.1 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003758/0.4369, allocations: 223.4 kB / 466.3 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/0.4371, allocations: 8 kB / 466.3 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004936/0.4376, allocations: 32.02 kB / 466.3 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.887e-05/0.4377, allocations: 4 kB / 466.3 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.4377, allocations: 4 kB / 466.3 MB, free: 6.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001811/0.4395, allocations: 1.4 MB / 467.7 MB, free: 5.086 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4395, allocations: 2.625 kB / 467.7 MB, free: 5.086 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002544/0.442, allocations: 0.9824 MB / 468.7 MB, free: 4.098 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 6 * 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.0007996/0.4429, allocations: 0.9588 MB / 469.7 MB, free: 3.117 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00206/0.4449, allocations: 1.468 MB / 471.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4449, allocations: 0.5 kB / 471.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.961e-05/0.445, allocations: 38.98 kB / 471.2 MB, free: 1.754 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.4466, allocations: 330.5 kB / 471.5 MB, free: 1.438 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02659/0.4732, allocations: 19.97 MB / 491.5 MB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003803/0.477, allocations: 3.131 MB / 494.6 MB, free: 8.531 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002038/0.4791, allocations: 0.7972 MB / 495.4 MB, free: 7.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001665/0.4808, allocations: 1.319 MB / 496.7 MB, free: 6.41 MB / 398.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4808, allocations: 4 kB / 496.7 MB, free: 6.406 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1484/0.6292, allocations: 41.97 MB / 0.5261 GB, free: 12.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.867/9.496, allocations: 12 kB / 0.5261 GB, free: 12.35 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_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_BalancingStar.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches