Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008455/0.0008455, allocations: 90.14 kB / 16.31 MB, free: 5.676 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.0008567/0.0008567, allocations: 180.4 kB / 17.21 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 223.2 MB / 241.2 MB, free: 300 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002465/0.0002465, allocations: 4 kB / 300.8 MB, free: 6.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09584/0.0961, allocations: 50.41 MB / 351.2 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.008464/0.1046, allocations: 8.33 MB / 359.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003582/0.1082, allocations: 2.449 MB / 362 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004489/0.1087, allocations: 71.81 kB / 362.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007504/0.1094, allocations: 409.5 kB / 362.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.1111, allocations: 0.753 MB / 363.2 MB, free: 7.953 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.1124, allocations: 0.6338 MB / 363.9 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003387/0.1158, allocations: 3.703 MB / 367.6 MB, free: 3.605 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1896/0.3053, allocations: 9.274 MB / 376.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002485/0.3078, allocations: 1.625 MB / 378.5 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002446/0.3103, allocations: 1.832 MB / 380.3 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000492/0.3108, allocations: 275.2 kB / 380.6 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.3122, allocations: 483.7 kB / 381.1 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000839/0.3131, allocations: 0.7167 MB / 381.8 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009142/0.314, allocations: 0.8739 MB / 382.6 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006531/0.3205, allocations: 7.5 MB / 390.1 MB, free: 5.586 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3206, allocations: 0 / 390.1 MB, free: 5.586 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3206, allocations: 0 / 390.1 MB, free: 5.586 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001497/0.3207, allocations: 0 / 390.1 MB, free: 5.586 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.009854/0.3306, allocations: 4.395 MB / 394.5 MB, free: 3.285 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3306, allocations: 11.03 kB / 394.5 MB, free: 3.285 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006806/0.3374, allocations: 1.293 MB / 395.8 MB, free: 2.789 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003406/0.3409, allocations: 2.481 MB / 398.3 MB, free: 2.055 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/0.341, allocations: 344.1 kB / 398.7 MB, free: 2.043 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005612/0.3416, allocations: 457.6 kB / 399.1 MB, free: 2.039 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.3516, allocations: 6.083 MB / 405.2 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.607e-05/0.3517, allocations: 0 / 405.2 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004527/0.3522, allocations: 191.4 kB / 405.4 MB, free: 13.26 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000199/0.3524, allocations: 199.8 kB / 405.6 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01008/0.3625, allocations: 5.257 MB / 410.8 MB, free: 7.797 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03056/0.3931, allocations: 21.05 MB / 431.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00654/0.3997, allocations: 5.598 MB / 437.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.4009, allocations: 0.6981 MB / 438.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.4011, allocations: 114.9 kB / 438.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.4011, allocations: 39.56 kB / 438.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=100): time 5.741e-06/0.4011, allocations: 5.516 kB / 438.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.00289/0.404, allocations: 1.545 MB / 439.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.4041, allocations: 64.41 kB / 439.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003249/0.4073, allocations: 1.446 MB / 441.4 MB, free: 8.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.161e-05/0.4074, allocations: 41.7 kB / 441.4 MB, free: 8.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00184/0.4093, allocations: 1.96 MB / 443.4 MB, free: 6.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004141/0.4097, allocations: 372.6 kB / 443.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.4099, allocations: 40 kB / 443.8 MB, free: 5.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003448/0.4102, allocations: 455.3 kB / 444.2 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001997/0.4122, allocations: 0.832 MB / 445.1 MB, free: 4.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003132/0.4154, allocations: 1.972 MB / 447 MB, free: 1.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002878/0.4183, allocations: 1.344 MB / 448.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.063e-05/0.4183, allocations: 12 kB / 448.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.006609/0.425, allocations: 2.852 MB / 451.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.255e-05/0.425, allocations: 21.86 kB / 451.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.078e-05/0.4251, allocations: 40 kB / 451.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-05/0.4252, allocations: 60.75 kB / 451.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002648/0.4279, allocations: 0.5375 MB / 451.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001002/0.428, allocations: 82.16 kB / 452 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/0.4303, allocations: 297.1 kB / 452.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002655/0.4306, allocations: 120 kB / 452.4 MB, free: 12.89 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.005004/0.4356, allocations: 1.66 MB / 454 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000442/0.4361, allocations: 138.3 kB / 454.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003592/0.4397, allocations: 1.42 MB / 455.6 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002159/0.4419, allocations: 1.002 MB / 456.6 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.4419, allocations: 0 / 456.6 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.935e-05/0.4419, allocations: 7.969 kB / 456.6 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02105/0.463, allocations: 12.23 MB / 468.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.599e-05/0.4631, allocations: 20 kB / 468.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007268/0.4638, allocations: 212.5 kB / 469.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.535e-05/0.4638, allocations: 28 kB / 469.1 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.199e-05/0.4639, allocations: 44.88 kB / 469.1 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.57e-05/0.4639, allocations: 39.86 kB / 469.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.072e-05/0.464, allocations: 31.81 kB / 469.2 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003433/0.4674, allocations: 2.579 MB / 471.8 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007002/0.4681, allocations: 339.1 kB / 472.1 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.4683, allocations: 47.98 kB / 472.2 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006489/0.469, allocations: 63.94 kB / 472.2 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.4691, allocations: 135.5 kB / 472.4 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.547e-05/0.4692, allocations: 58.72 kB / 472.4 MB, free: 7.922 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001505/0.4707, allocations: 0.9799 MB / 473.4 MB, free: 6.938 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4707, allocations: 0 / 473.4 MB, free: 6.938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0031/0.4738, allocations: 0.9398 MB / 474.3 MB, free: 5.992 MB / 382.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.0003781/0.4742, allocations: 217.5 kB / 474.6 MB, free: 5.777 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002737/0.477, allocations: 1.897 MB / 476.5 MB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.477, allocations: 0 / 476.5 MB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000809/0.4778, allocations: 0.6161 MB / 477.1 MB, free: 3.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/0.4797, allocations: 364.7 kB / 477.4 MB, free: 2.922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/0.4917, allocations: 8.413 MB / 485.8 MB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002984/0.4947, allocations: 3.075 MB / 488.9 MB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001994/0.4967, allocations: 0.8171 MB / 489.7 MB, free: 6.285 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/0.497, allocations: 111.4 kB / 489.8 MB, free: 6.176 MB / 398.1 MB Notification: Performance of SimCode: time 8.92e-07/0.497, allocations: 0 / 489.8 MB, free: 6.176 MB / 398.1 MB Notification: Performance of Templates: time 0.03182/0.5288, allocations: 17.23 MB / 0.4952 GB, free: 5.117 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches