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.0007556/0.0007556, allocations: 98.77 kB / 17.01 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008128/0.0008128, allocations: 195.4 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.7 MB / 246.4 MB, free: 9.777 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002654/0.0002654, allocations: 8 kB / 307.1 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09766/0.09794, allocations: 51.53 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.008707/0.1067, allocations: 8.339 MB / 367 MB, free: 5.059 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005083/0.1118, allocations: 2.508 MB / 369.5 MB, free: 2.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.1133, allocations: 67.81 kB / 369.6 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.1149, allocations: 417.5 kB / 370 MB, free: 2.066 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002809/0.1177, allocations: 0.6212 MB / 370.6 MB, free: 1.445 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.12, allocations: 0.7599 MB / 371.3 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1803/0.3003, allocations: 3.7 MB / 375 MB, free: 8.758 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01485/0.3152, allocations: 9.272 MB / 384.3 MB, free: 7.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003001/0.3183, allocations: 1.63 MB / 385.9 MB, free: 7.535 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002968/0.3213, allocations: 1.84 MB / 387.8 MB, free: 7.145 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008412/0.3221, allocations: 274.7 kB / 388 MB, free: 7.145 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.3238, allocations: 493.1 kB / 388.5 MB, free: 7.133 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006984/0.3245, allocations: 0.7181 MB / 389.2 MB, free: 6.828 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.3257, allocations: 0.8702 MB / 390.1 MB, free: 6.246 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005604/0.3313, allocations: 7.513 MB / 397.6 MB, free: 2.016 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3313, allocations: 4 kB / 397.6 MB, free: 2.012 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3313, allocations: 0 / 397.6 MB, free: 2.012 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001128/0.3314, allocations: 0 / 397.6 MB, free: 2.012 MB / 302.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.008924/0.3403, allocations: 4.397 MB / 402 MB, free: 15.24 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3404, allocations: 9.469 kB / 402 MB, free: 15.24 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007651/0.3481, allocations: 1.321 MB / 403.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003759/0.3518, allocations: 2.49 MB / 405.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002488/0.3521, allocations: 349.4 kB / 406.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006448/0.3527, allocations: 455.4 kB / 406.6 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.3634, allocations: 6.072 MB / 412.7 MB, free: 4.648 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-05/0.3635, allocations: 8 kB / 412.7 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000415/0.3639, allocations: 184 kB / 412.9 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001758/0.3641, allocations: 193.5 kB / 413.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008638/0.3727, allocations: 5.26 MB / 418.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02593/0.3987, allocations: 21.3 MB / 439.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006111/0.4048, allocations: 5.6 MB / 445.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.4059, allocations: 0.6981 MB / 445.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002141/0.4061, allocations: 194.4 kB / 446.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.4061, allocations: 51.5 kB / 446.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=100): time 3.006e-06/0.4062, allocations: 3.938 kB / 446.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.002338/0.4085, allocations: 1.537 MB / 447.7 MB, free: 212 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.4086, allocations: 60.41 kB / 447.8 MB, free: 136 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/0.4106, allocations: 1.448 MB / 449.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.067e-05/0.4107, allocations: 41.7 kB / 449.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00122/0.4119, allocations: 1.963 MB / 451.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/0.4122, allocations: 362.9 kB / 451.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.765e-05/0.4123, allocations: 52 kB / 451.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002322/0.4125, allocations: 451.2 kB / 452.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.4138, allocations: 0.8398 MB / 452.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/0.4157, allocations: 1.965 MB / 454.9 MB, free: 8.441 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/0.4174, allocations: 1.341 MB / 456.2 MB, free: 7.105 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-05/0.4175, allocations: 12 kB / 456.2 MB, free: 7.094 MB / 366.1 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003921/0.4214, allocations: 2.851 MB / 459.1 MB, free: 4.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.4214, allocations: 24 kB / 459.1 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.096e-05/0.4215, allocations: 40 kB / 459.2 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.41e-05/0.4215, allocations: 56 kB / 459.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.423, allocations: 0.5349 MB / 459.7 MB, free: 3.578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.659e-05/0.4231, allocations: 87.66 kB / 459.8 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.4243, allocations: 289.1 kB / 460.1 MB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/0.4245, allocations: 128 kB / 460.2 MB, free: 3.082 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002541/0.427, allocations: 1.668 MB / 461.9 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.4272, allocations: 134.3 kB / 462 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/0.4292, allocations: 1.416 MB / 463.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001343/0.4306, allocations: 1.006 MB / 464.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.4306, allocations: 4 kB / 464.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.4306, allocations: 7.969 kB / 464.5 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01499/0.4456, allocations: 13.52 MB / 478 MB, free: 404 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.926e-05/0.4457, allocations: 20 kB / 478 MB, free: 384 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000666/0.4463, allocations: 207.6 kB / 478.2 MB, free: 176 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.627e-05/0.4464, allocations: 28.78 kB / 478.2 MB, free: 148 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-05/0.4465, allocations: 47.95 kB / 478.3 MB, free: 100 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.448e-05/0.4465, allocations: 39.86 kB / 478.3 MB, free: 60 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.362e-05/0.4465, allocations: 31.88 kB / 478.4 MB, free: 28 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002938/0.4495, allocations: 2.567 MB / 480.9 MB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004822/0.45, allocations: 339 kB / 481.3 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.4501, allocations: 56 kB / 481.3 MB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006514/0.4508, allocations: 63.95 kB / 481.4 MB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.4509, allocations: 123.5 kB / 481.5 MB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.953e-05/0.451, allocations: 67.94 kB / 481.6 MB, free: 12.51 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001242/0.4523, allocations: 0.976 MB / 482.5 MB, free: 11.53 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4523, allocations: 0 / 482.5 MB, free: 11.53 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00254/0.4548, allocations: 0.9359 MB / 483.5 MB, free: 10.59 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002998/0.4551, allocations: 205.5 kB / 483.7 MB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002491/0.4576, allocations: 1.893 MB / 485.6 MB, free: 8.496 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.4577, allocations: 4 kB / 485.6 MB, free: 8.492 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008094/0.4585, allocations: 0.6131 MB / 486.2 MB, free: 7.883 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/0.4604, allocations: 368 kB / 486.5 MB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.4715, allocations: 8.411 MB / 495 MB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002834/0.4744, allocations: 3.072 MB / 498 MB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002032/0.4764, allocations: 0.8171 MB / 498.8 MB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/0.4767, allocations: 115.4 kB / 499 MB, free: 10.78 MB / 414.1 MB Notification: Performance of SimCode: time 9.41e-07/0.4767, allocations: 3.938 kB / 499 MB, free: 10.78 MB / 414.1 MB Notification: Performance of Templates: time 0.02944/0.5062, allocations: 17.13 MB / 0.504 GB, free: 9.816 MB / 430.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