Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001029/0.001029, allocations: 118.1 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2602, allocations: 50.55 MB / 409.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.009623/0.2699, allocations: 9.741 MB / 419 MB, free: 7.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004387/0.2743, allocations: 2.748 MB / 421.7 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009889/0.2753, allocations: 79.75 kB / 421.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008152/0.2835, allocations: 4.184 MB / 426 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002345/0.2858, allocations: 0.7649 MB / 426.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.2878, allocations: 0.9572 MB / 427.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003783/0.2916, allocations: 4.058 MB / 431.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01222/0.3039, allocations: 10.96 MB / 442.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002446/0.3063, allocations: 2.357 MB / 445.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003078/0.3094, allocations: 2.647 MB / 447.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007273/0.3102, allocations: 0.6641 MB / 448.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.3116, allocations: 0.9021 MB / 449.3 MB, free: 9.305 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009097/0.3126, allocations: 1.235 MB / 450.5 MB, free: 8.066 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002068/0.3146, allocations: 2.556 MB / 453.1 MB, free: 5.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006784/0.3214, allocations: 8.932 MB / 462 MB, free: 12.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3214, allocations: 0 / 462 MB, free: 12.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3215, allocations: 0 / 462 MB, free: 12.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001691/0.3216, allocations: 0 / 462 MB, free: 12.54 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01153/0.3332, allocations: 5.405 MB / 467.4 MB, free: 7.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3332, allocations: 12.03 kB / 467.5 MB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007679/0.3409, allocations: 1.345 MB / 468.8 MB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003614/0.3445, allocations: 2.612 MB / 471.4 MB, free: 3.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002204/0.3448, allocations: 349.3 kB / 471.8 MB, free: 2.699 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005892/0.3454, allocations: 456 kB / 472.2 MB, free: 2.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009927/0.3553, allocations: 6.094 MB / 478.3 MB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.893e-05/0.3554, allocations: 4 kB / 478.3 MB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000411/0.3558, allocations: 188 kB / 478.5 MB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001607/0.356, allocations: 193.5 kB / 478.7 MB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008201/0.3642, allocations: 5.276 MB / 483.9 MB, free: 6.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02591/0.3901, allocations: 21.02 MB / 0.4931 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005978/0.3961, allocations: 5.572 MB / 0.4986 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009307/0.3971, allocations: 0.659 MB / 0.4992 GB, free: 9.699 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/0.3973, allocations: 191.2 kB / 0.4994 GB, free: 9.477 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.3973, allocations: 43.56 kB / 0.4994 GB, free: 9.426 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.086e-06/0.3973, allocations: 0 / 0.4994 GB, free: 9.426 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002079/0.3994, allocations: 1.433 MB / 0.5008 GB, free: 7.984 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.3995, allocations: 60.41 kB / 0.5009 GB, free: 7.914 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/0.4013, allocations: 1.462 MB / 0.5023 GB, free: 6.441 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.464e-05/0.4014, allocations: 45.64 kB / 0.5024 GB, free: 6.391 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001121/0.4025, allocations: 2.041 MB / 0.5044 GB, free: 4.328 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002643/0.4028, allocations: 365.1 kB / 0.5047 GB, free: 3.969 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005921/0.4034, allocations: 475.9 kB / 0.5052 GB, free: 3.496 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.4035, allocations: 357.9 kB / 0.5055 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/0.4047, allocations: 0.8085 MB / 0.5063 GB, free: 2.328 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001878/0.4066, allocations: 1.941 MB / 0.5082 GB, free: 15.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003149/0.4097, allocations: 2.927 MB / 0.511 GB, free: 12.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-05/0.4098, allocations: 12 kB / 0.5111 GB, free: 12.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.003967/0.4138, allocations: 2.794 MB / 0.5138 GB, free: 9.543 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.4138, allocations: 20 kB / 0.5138 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.843e-05/0.4139, allocations: 40 kB / 0.5138 GB, free: 9.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.866e-05/0.4139, allocations: 52 kB / 0.5139 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/0.4155, allocations: 0.542 MB / 0.5144 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.331e-05/0.4156, allocations: 76.19 kB / 0.5145 GB, free: 8.816 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.417, allocations: 297.9 kB / 0.5148 GB, free: 8.523 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/0.4171, allocations: 128 kB / 0.5149 GB, free: 8.398 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (282): * Single equations (assignments): 281 * 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.002178/0.4193, allocations: 1.675 MB / 0.5165 GB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/0.4196, allocations: 135.1 kB / 0.5167 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/0.4216, allocations: 1.338 MB / 0.518 GB, free: 5.219 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001215/0.4228, allocations: 0.9318 MB / 0.5189 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.4228, allocations: 4 kB / 0.5189 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.4228, allocations: 3.984 kB / 0.5189 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/0.4383, allocations: 13.5 MB / 0.5321 GB, free: 5.855 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-05/0.4384, allocations: 28.19 kB / 0.5321 GB, free: 5.828 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007397/0.4391, allocations: 211.6 kB / 0.5323 GB, free: 5.621 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.531e-05/0.4392, allocations: 24 kB / 0.5323 GB, free: 5.598 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.694e-05/0.4392, allocations: 47.98 kB / 0.5324 GB, free: 5.551 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.673e-05/0.4393, allocations: 39.8 kB / 0.5324 GB, free: 5.512 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.605e-05/0.4393, allocations: 27.88 kB / 0.5324 GB, free: 5.484 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002803/0.4421, allocations: 2.451 MB / 0.5348 GB, free: 2.742 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006247/0.4428, allocations: 315.9 kB / 0.5351 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002731/0.443, allocations: 59.84 kB / 0.5352 GB, free: 2.355 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008133/0.4439, allocations: 63.95 kB / 0.5352 GB, free: 2.293 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.444, allocations: 131.5 kB / 0.5354 GB, free: 2.164 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-05/0.4441, allocations: 48 kB / 0.5354 GB, free: 2.117 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001481/0.4456, allocations: 0.9916 MB / 0.5364 GB, free: 1.121 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4456, allocations: 8 kB / 0.5364 GB, free: 1.113 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002683/0.4483, allocations: 0.9492 MB / 0.5373 GB, free: 164 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * 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 (98): * Single equations (assignments): 97 * 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.1927/0.641, allocations: 195.7 kB / 0.5375 GB, free: 123.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003208/0.6443, allocations: 1.87 MB / 0.5393 GB, free: 123 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-05/0.6443, allocations: 3.656 kB / 0.5393 GB, free: 123 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006766/0.645, allocations: 0.5733 MB / 0.5399 GB, free: 123 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.6472, allocations: 375.8 kB / 0.5403 GB, free: 123 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009152/0.6564, allocations: 6.962 MB / 0.5471 GB, free: 119.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002155/0.6586, allocations: 3.08 MB / 0.5501 GB, free: 118 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001499/0.6601, allocations: 0.8143 MB / 0.5509 GB, free: 117.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.6603, allocations: 112 kB / 0.551 GB, free: 117.9 MB / 462.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6603, allocations: 0 / 0.551 GB, free: 117.9 MB / 462.1 MB Notification: Performance of Templates: time 0.02504/0.6853, allocations: 18.21 MB / 0.5687 GB, free: 102 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches