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.001058/0.001058, allocations: 106.4 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.4 MB / 246.3 MB, free: 10.85 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.58 kB / 306.3 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08802/0.08931, allocations: 50.53 MB / 356.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.009873/0.09921, allocations: 9.611 MB / 366.4 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005009/0.1042, allocations: 2.741 MB / 369.1 MB, free: 2.023 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.1056, allocations: 75.75 kB / 369.2 MB, free: 1.949 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1511/0.2568, allocations: 3.975 MB / 373.2 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002681/0.2595, allocations: 0.6685 MB / 373.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.2614, allocations: 0.9084 MB / 374.8 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004212/0.2657, allocations: 3.853 MB / 378.6 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01151/0.2772, allocations: 9.197 MB / 387.8 MB, free: 4.559 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002993/0.2802, allocations: 2.127 MB / 389.9 MB, free: 3.605 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003657/0.2839, allocations: 2.581 MB / 392.5 MB, free: 2.379 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001149/0.2851, allocations: 0.5119 MB / 393 MB, free: 2.379 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.287, allocations: 0.7431 MB / 393.8 MB, free: 2.297 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000744/0.2878, allocations: 1.083 MB / 394.9 MB, free: 1.566 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002316/0.2901, allocations: 2.398 MB / 397.3 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007626/0.2977, allocations: 8.748 MB / 406 MB, free: 8.719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2978, allocations: 4 kB / 406 MB, free: 8.715 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2978, allocations: 0 / 406 MB, free: 8.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001836/0.298, allocations: 4 kB / 406 MB, free: 8.711 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01436/0.3124, allocations: 5.326 MB / 411.3 MB, free: 3.352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3124, allocations: 16.02 kB / 411.4 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007854/0.3203, allocations: 1.321 MB / 412.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00521/0.3255, allocations: 2.507 MB / 415.2 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003357/0.3259, allocations: 345.4 kB / 415.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00132/0.3272, allocations: 466.8 kB / 416 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01405/0.3413, allocations: 6.115 MB / 422.1 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000143/0.3414, allocations: 3.906 kB / 422.1 MB, free: 8.535 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000921/0.3424, allocations: 188 kB / 422.3 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001859/0.3426, allocations: 193.5 kB / 422.5 MB, free: 8.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01087/0.3535, allocations: 5.296 MB / 427.8 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03369/0.3872, allocations: 21.25 MB / 449 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00599/0.3932, allocations: 5.623 MB / 454.6 MB, free: 6.617 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.3943, allocations: 0.7049 MB / 455.3 MB, free: 5.918 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/0.3946, allocations: 189.8 kB / 455.5 MB, free: 5.695 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.3946, allocations: 43.5 kB / 455.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of pre-optimization done (n=100): time 2.876e-06/0.3946, allocations: 0 / 455.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.002481/0.3971, allocations: 1.549 MB / 457.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.3972, allocations: 60.41 kB / 457.2 MB, free: 4.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002284/0.3995, allocations: 1.461 MB / 458.6 MB, free: 2.547 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.898e-05/0.3995, allocations: 41.7 kB / 458.7 MB, free: 2.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001187/0.4007, allocations: 1.962 MB / 460.6 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003372/0.4011, allocations: 367.5 kB / 461 MB, free: 172 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006387/0.4017, allocations: 471.9 kB / 461.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.4019, allocations: 353.9 kB / 461.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.4032, allocations: 0.8476 MB / 462.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/0.4051, allocations: 1.98 MB / 464.6 MB, free: 11.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003153/0.4082, allocations: 3.002 MB / 467.6 MB, free: 8.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.76e-05/0.4083, allocations: 12 kB / 467.7 MB, free: 8.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.004322/0.4126, allocations: 2.871 MB / 470.5 MB, free: 5.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.327e-05/0.4127, allocations: 23.94 kB / 470.5 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.256e-05/0.4127, allocations: 40 kB / 470.6 MB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.924e-05/0.4128, allocations: 52 kB / 470.6 MB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/0.4144, allocations: 0.542 MB / 471.2 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-05/0.4145, allocations: 80.19 kB / 471.3 MB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.4159, allocations: 297.1 kB / 471.5 MB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.4161, allocations: 124 kB / 471.7 MB, free: 4.367 MB / 382.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 (285): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002521/0.4186, allocations: 1.668 MB / 473.3 MB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002805/0.4189, allocations: 134.2 kB / 473.5 MB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002357/0.4213, allocations: 1.424 MB / 474.9 MB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001391/0.4227, allocations: 1.01 MB / 475.9 MB, free: 96 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4227, allocations: 3.938 kB / 475.9 MB, free: 92 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.4227, allocations: 11.95 kB / 475.9 MB, free: 80 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0174/0.4401, allocations: 13.53 MB / 489.4 MB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.897e-05/0.4402, allocations: 20 kB / 489.5 MB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007882/0.441, allocations: 211.6 kB / 489.7 MB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.72e-05/0.441, allocations: 27.94 kB / 489.7 MB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.189e-05/0.4411, allocations: 44.66 kB / 489.7 MB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.862e-05/0.4412, allocations: 35.86 kB / 489.8 MB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.005e-05/0.4412, allocations: 35.81 kB / 489.8 MB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003216/0.4444, allocations: 2.586 MB / 492.4 MB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006061/0.445, allocations: 327.1 kB / 492.7 MB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002879/0.4453, allocations: 47.98 kB / 492.8 MB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008262/0.4462, allocations: 68 kB / 492.8 MB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.4464, allocations: 131.4 kB / 493 MB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.6e-05/0.4465, allocations: 55.94 kB / 493 MB, free: 13.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001552/0.448, allocations: 0.9877 MB / 494 MB, free: 12.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.448, allocations: 0 / 494 MB, free: 12.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002787/0.4508, allocations: 0.9438 MB / 494.9 MB, free: 11.84 MB / 414.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 (101): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003614/0.4512, allocations: 207 kB / 495.1 MB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002944/0.4541, allocations: 1.911 MB / 497.1 MB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.4542, allocations: 1.875 kB / 497.1 MB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009196/0.4551, allocations: 0.6171 MB / 497.7 MB, free: 9.113 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.4574, allocations: 368.4 kB / 498 MB, free: 8.762 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/0.4707, allocations: 8.753 MB / 0.4949 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003481/0.4743, allocations: 3.075 MB / 0.4979 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002102/0.4764, allocations: 0.8132 MB / 0.4987 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/0.4767, allocations: 111.4 kB / 0.4988 GB, free: 11.68 MB / 430.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4767, allocations: 0 / 0.4988 GB, free: 11.68 MB / 430.1 MB Notification: Performance of Templates: time 0.03204/0.5088, allocations: 17.59 MB / 0.516 GB, free: 10.25 MB / 446.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