Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001238/0.001238, allocations: 117.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001262/0.001262, allocations: 207.8 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 59.89 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2567, allocations: 50.55 MB / 408.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01102/0.2677, allocations: 9.143 MB / 418 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005257/0.273, allocations: 2.639 MB / 420.6 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.2742, allocations: 67.81 kB / 420.7 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008438/0.2827, allocations: 3.729 MB / 424.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003114/0.2858, allocations: 0.7494 MB / 425.2 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002446/0.2883, allocations: 0.9227 MB / 426.1 MB, free: 148 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004641/0.293, allocations: 3.622 MB / 429.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01261/0.3056, allocations: 9.517 MB / 439.2 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0031/0.3087, allocations: 2.096 MB / 441.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003371/0.3121, allocations: 2.371 MB / 443.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001028/0.3132, allocations: 0.5898 MB / 444.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.3149, allocations: 0.8123 MB / 445.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001098/0.3161, allocations: 1.111 MB / 446.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002752/0.3188, allocations: 2.28 MB / 448.5 MB, free: 9.617 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008964/0.3278, allocations: 7.92 MB / 456.4 MB, free: 1.672 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3278, allocations: 0 / 456.4 MB, free: 1.672 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.55e-06/0.3278, allocations: 3.984 kB / 456.4 MB, free: 1.668 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001632/0.328, allocations: 0 / 456.4 MB, free: 1.668 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.01297/0.341, allocations: 4.933 MB / 461.3 MB, free: 12.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.341, allocations: 12.03 kB / 461.3 MB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001062/0.3421, allocations: 0.5923 MB / 461.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008148/0.3503, allocations: 1.282 MB / 463.2 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004621/0.3549, allocations: 2.327 MB / 465.5 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002867/0.3552, allocations: 312.4 kB / 465.9 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/0.3563, allocations: 411.9 kB / 466.3 MB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01102/0.3673, allocations: 5.485 MB / 471.7 MB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.62e-05/0.3674, allocations: 4 kB / 471.7 MB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004242/0.3679, allocations: 164 kB / 471.9 MB, free: 1.973 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002012/0.3681, allocations: 184.6 kB / 472.1 MB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009953/0.378, allocations: 4.804 MB / 476.9 MB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0315/0.4096, allocations: 19.34 MB / 496.2 MB, free: 8.938 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005225/0.4148, allocations: 3.891 MB / 0.4884 GB, free: 4.578 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.4163, allocations: 0.7809 MB / 0.4892 GB, free: 3.797 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000248/0.4165, allocations: 211.1 kB / 0.4894 GB, free: 3.555 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.4166, allocations: 43.56 kB / 0.4894 GB, free: 3.504 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 2.665e-06/0.4166, allocations: 0 / 0.4894 GB, free: 3.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002596/0.4192, allocations: 1.565 MB / 0.4909 GB, free: 1.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.4192, allocations: 64.34 kB / 0.491 GB, free: 1.855 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.4212, allocations: 1.338 MB / 0.4923 GB, free: 0.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.818e-05/0.4213, allocations: 41.7 kB / 0.4923 GB, free: 464 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00141/0.4227, allocations: 1.827 MB / 0.4941 GB, free: 14.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003637/0.4231, allocations: 385 kB / 0.4945 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000642/0.4237, allocations: 451.6 kB / 0.4949 GB, free: 13.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.4239, allocations: 357.9 kB / 0.4953 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.4252, allocations: 0.8318 MB / 0.4961 GB, free: 12.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/0.4274, allocations: 1.823 MB / 0.4979 GB, free: 10.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003584/0.431, allocations: 2.798 MB / 0.5006 GB, free: 7.008 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.75e-05/0.431, allocations: 8 kB / 0.5006 GB, free: 7 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004431/0.4355, allocations: 2.751 MB / 0.5033 GB, free: 4.246 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.4355, allocations: 20 kB / 0.5033 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.725e-05/0.4356, allocations: 36 kB / 0.5033 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.225e-05/0.4357, allocations: 48 kB / 0.5034 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/0.4373, allocations: 0.5264 MB / 0.5039 GB, free: 3.617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-05/0.4374, allocations: 67.72 kB / 0.504 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.4387, allocations: 290.4 kB / 0.5042 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001824/0.4389, allocations: 119.9 kB / 0.5044 GB, free: 3.148 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.002477/0.4414, allocations: 1.48 MB / 0.5058 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/0.4417, allocations: 127.2 kB / 0.5059 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/0.4442, allocations: 1.462 MB / 0.5073 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001639/0.4459, allocations: 1.041 MB / 0.5084 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.4459, allocations: 0 / 0.5084 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.4459, allocations: 3.984 kB / 0.5084 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01896/0.4649, allocations: 13.76 MB / 0.5218 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.46e-05/0.465, allocations: 20 kB / 0.5218 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008632/0.4658, allocations: 235.6 kB / 0.522 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.708e-05/0.4659, allocations: 28 kB / 0.5221 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.4e-05/0.466, allocations: 44 kB / 0.5221 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-05/0.466, allocations: 43.84 kB / 0.5222 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-05/0.466, allocations: 35.7 kB / 0.5222 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003613/0.4697, allocations: 2.683 MB / 0.5248 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006098/0.4703, allocations: 335.9 kB / 0.5251 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.4705, allocations: 51.98 kB / 0.5252 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007286/0.4712, allocations: 63.94 kB / 0.5252 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/0.4714, allocations: 155.3 kB / 0.5254 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.307e-05/0.4715, allocations: 52 kB / 0.5254 GB, free: 12.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001306/0.4728, allocations: 0.9101 MB / 0.5263 GB, free: 11.24 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4728, allocations: 0 / 0.5263 GB, free: 11.24 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002493/0.4753, allocations: 0.8793 MB / 0.5272 GB, free: 10.36 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.004211/0.4795, allocations: 3.316 MB / 0.5304 GB, free: 6.727 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003154/0.4827, allocations: 1.925 MB / 0.5323 GB, free: 4.801 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/0.4827, allocations: 6 kB / 0.5323 GB, free: 4.797 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009966/0.4837, allocations: 0.6325 MB / 0.5329 GB, free: 4.168 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/0.4858, allocations: 336.2 kB / 0.5333 GB, free: 3.848 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2324/0.7182, allocations: 18.59 MB / 0.5514 GB, free: 116.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00205/0.7203, allocations: 2.808 MB / 0.5541 GB, free: 115.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001403/0.7217, allocations: 0.762 MB / 0.5549 GB, free: 114.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/0.7227, allocations: 1.146 MB / 0.556 GB, free: 113.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.273e-06/0.7228, allocations: 0 / 0.556 GB, free: 113.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05855/0.7813, allocations: 39.01 MB / 0.5941 GB, free: 75.36 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/11.14, allocations: 11.8 kB / 0.5941 GB, free: 75.35 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches