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.001214/0.001215, allocations: 106.5 kB / 17.73 MB, free: 5.367 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.001312/0.001312, allocations: 191 kB / 18.66 MB, free: 4.441 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.434/1.434, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001312/0.001312, allocations: 55.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1037, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.2241/0.3279, allocations: 10.08 MB / 384.7 MB, free: 7.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006949/0.3349, allocations: 2.819 MB / 387.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/0.3375, allocations: 64.09 kB / 387.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01003/0.3475, allocations: 4.21 MB / 391.8 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005804/0.3534, allocations: 1.037 MB / 392.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.3562, allocations: 0.8231 MB / 393.7 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006183/0.3624, allocations: 4.294 MB / 398 MB, free: 468 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01892/0.3813, allocations: 11 MB / 409 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004729/0.3861, allocations: 2.463 MB / 411.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005984/0.3921, allocations: 2.785 MB / 414.2 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002406/0.3945, allocations: 0.6797 MB / 414.9 MB, free: 7.742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003946/0.3985, allocations: 0.8904 MB / 415.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002781/0.4013, allocations: 1.321 MB / 417.1 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005962/0.4073, allocations: 2.669 MB / 419.8 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01289/0.4202, allocations: 9.076 MB / 428.9 MB, free: 9.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.4202, allocations: 0 / 428.9 MB, free: 9.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4203, allocations: 0 / 428.9 MB, free: 9.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002851/0.4205, allocations: 0 / 428.9 MB, free: 9.746 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01768/0.4382, allocations: 5.57 MB / 434.4 MB, free: 4.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.4383, allocations: 12.03 kB / 434.4 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002349/0.4407, allocations: 0.695 MB / 435.1 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01433/0.455, allocations: 2.387 MB / 437.5 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005629/0.4607, allocations: 2.381 MB / 439.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003294/0.461, allocations: 361.9 kB / 440.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001408/0.4625, allocations: 487.8 kB / 440.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/0.4753, allocations: 6.64 MB / 447.4 MB, free: 7.062 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.913e-05/0.4754, allocations: 8 kB / 447.4 MB, free: 7.055 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004888/0.4759, allocations: 200 kB / 447.6 MB, free: 6.859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000257/0.4761, allocations: 226.1 kB / 447.8 MB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/0.4866, allocations: 6.11 MB / 453.9 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.036/0.5226, allocations: 22.35 MB / 476.3 MB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01048/0.5332, allocations: 10.79 MB / 487 MB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.5346, allocations: 0.8227 MB / 487.9 MB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005793/0.5404, allocations: 3.378 MB / 491.2 MB, free: 8.383 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.5405, allocations: 34.56 kB / 491.3 MB, free: 8.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 2.475e-06/0.5405, allocations: 3.938 kB / 491.3 MB, free: 8.336 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.000741/0.5413, allocations: 227.9 kB / 491.5 MB, free: 8.105 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.5413, allocations: 59.34 kB / 491.6 MB, free: 8.035 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003906/0.5452, allocations: 2.129 MB / 493.7 MB, free: 5.898 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.5453, allocations: 29.7 kB / 493.7 MB, free: 5.863 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00168/0.547, allocations: 2.386 MB / 496.1 MB, free: 3.441 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.5471, allocations: 67.75 kB / 496.2 MB, free: 3.375 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001266/0.5484, allocations: 0.5466 MB / 496.7 MB, free: 2.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002671/0.5487, allocations: 353.9 kB / 497.1 MB, free: 2.469 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/0.5502, allocations: 0.8127 MB / 497.9 MB, free: 1.652 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002874/0.5531, allocations: 2.239 MB / 0.4884 GB, free: 14.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00337/0.5565, allocations: 2.961 MB / 0.4913 GB, free: 11.03 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.159e-05/0.5566, allocations: 16 kB / 0.4913 GB, free: 11.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.00451/0.5611, allocations: 3.016 MB / 0.4942 GB, free: 7.992 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.5611, allocations: 28 kB / 0.4943 GB, free: 7.965 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.848e-05/0.5612, allocations: 56.08 kB / 0.4943 GB, free: 7.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.76e-05/0.5613, allocations: 68 kB / 0.4944 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.5628, allocations: 0.5731 MB / 0.4949 GB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.387e-05/0.5629, allocations: 103.6 kB / 0.495 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/0.5648, allocations: 392.3 kB / 0.4954 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/0.565, allocations: 148 kB / 0.4956 GB, free: 6.637 MB / 430.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.002666/0.5677, allocations: 1.726 MB / 0.4972 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/0.568, allocations: 138.2 kB / 0.4974 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004448/0.5684, allocations: 250.9 kB / 0.4976 GB, free: 4.508 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001139/0.5685, allocations: 97.59 kB / 0.4977 GB, free: 4.406 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.5686, allocations: 3.938 kB / 0.4977 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5686, allocations: 0 / 0.4977 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004521/0.5731, allocations: 3.052 MB / 0.5007 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.5731, allocations: 3.984 kB / 0.5007 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.379e-05/0.5732, allocations: 15.94 kB / 0.5007 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.5732, allocations: 0 / 0.5007 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.5732, allocations: 3.984 kB / 0.5007 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.5732, allocations: 4 kB / 0.5007 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5732, allocations: 0 / 0.5007 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004567/0.5737, allocations: 370.4 kB / 0.5011 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/0.574, allocations: 223.4 kB / 0.5013 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.5742, allocations: 0 / 0.5013 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/0.5746, allocations: 31.89 kB / 0.5013 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.5747, allocations: 4 kB / 0.5013 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.5747, allocations: 4 kB / 0.5013 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001758/0.5764, allocations: 1.4 MB / 0.5027 GB, free: 15.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5764, allocations: 0 / 0.5027 GB, free: 15.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002392/0.5788, allocations: 0.9863 MB / 0.5037 GB, free: 14.22 MB / 446.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.0008458/0.5797, allocations: 0.9538 MB / 0.5046 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002131/0.5818, allocations: 1.469 MB / 0.506 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5818, allocations: 0 / 0.506 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.782e-05/0.5819, allocations: 35.92 kB / 0.5061 GB, free: 11.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.5833, allocations: 337.3 kB / 0.5064 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03271/0.6161, allocations: 19.16 MB / 0.5251 GB, free: 6.566 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005633/0.6218, allocations: 3.128 MB / 0.5281 GB, free: 3.41 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002091/0.6239, allocations: 0.7944 MB / 0.5289 GB, free: 2.609 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00226/0.6262, allocations: 1.319 MB / 0.5302 GB, free: 1.289 MB / 462.1 MB Notification: Performance of SimCode: time 2.445e-06/0.6262, allocations: 0 / 0.5302 GB, free: 1.289 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3036/0.9298, allocations: 43.13 MB / 0.5723 GB, free: 144.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/10.97, allocations: 13.03 kB / 0.5723 GB, free: 144.8 MB / 478.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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