Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00169/0.00169, allocations: 115.6 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001987/0.001987, allocations: 206.7 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.415/1.415, allocations: 227.7 MB / 247.9 MB, free: 10.21 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 64.14 kB / 359.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2287, allocations: 50.54 MB / 410.2 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01135/0.2401, allocations: 9.773 MB / 420 MB, free: 7.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005336/0.2454, allocations: 2.76 MB / 422.7 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008783/0.2463, allocations: 75.81 kB / 422.8 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008981/0.2553, allocations: 4.205 MB / 427 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002626/0.2579, allocations: 0.7687 MB / 427.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.2601, allocations: 0.9665 MB / 428.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004614/0.2647, allocations: 4.05 MB / 432.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01137/0.2761, allocations: 8.505 MB / 441.3 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003237/0.2793, allocations: 2.365 MB / 443.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003874/0.2832, allocations: 2.655 MB / 446.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001086/0.2843, allocations: 0.6641 MB / 447 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.286, allocations: 0.8904 MB / 447.9 MB, free: 11.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001145/0.2872, allocations: 1.239 MB / 449.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002957/0.2901, allocations: 2.564 MB / 451.7 MB, free: 7.762 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00952/0.2997, allocations: 8.917 MB / 460.6 MB, free: 14.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.2997, allocations: 8 kB / 460.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2997, allocations: 0 / 460.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001798/0.2999, allocations: 0 / 460.6 MB, free: 14.8 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.01328/0.3131, allocations: 5.406 MB / 466 MB, free: 9.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3132, allocations: 8.031 kB / 466 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008173/0.3213, allocations: 1.341 MB / 467.4 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004874/0.3262, allocations: 2.608 MB / 470 MB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003064/0.3265, allocations: 357.3 kB / 470.3 MB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000992/0.3275, allocations: 456 kB / 470.8 MB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01289/0.3404, allocations: 6.086 MB / 476.9 MB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.921e-05/0.3405, allocations: 11.98 kB / 476.9 MB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004704/0.341, allocations: 188 kB / 477.1 MB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002033/0.3412, allocations: 193.5 kB / 477.2 MB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/0.3513, allocations: 5.268 MB / 482.5 MB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03281/0.3842, allocations: 21.03 MB / 0.4917 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006793/0.391, allocations: 5.482 MB / 0.4971 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000999/0.392, allocations: 0.5965 MB / 0.4977 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002212/0.3922, allocations: 195.2 kB / 0.4979 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.3922, allocations: 39.56 kB / 0.4979 GB, free: 11.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.735e-06/0.3922, allocations: 4 kB / 0.4979 GB, free: 11.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002314/0.3945, allocations: 1.429 MB / 0.4993 GB, free: 10.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.3946, allocations: 64.41 kB / 0.4994 GB, free: 10.33 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002288/0.3969, allocations: 1.462 MB / 0.5008 GB, free: 8.859 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.202e-05/0.3969, allocations: 41.7 kB / 0.5008 GB, free: 8.812 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001494/0.3984, allocations: 2.041 MB / 0.5028 GB, free: 6.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003321/0.3988, allocations: 365.1 kB / 0.5032 GB, free: 6.391 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006827/0.3994, allocations: 471.9 kB / 0.5036 GB, free: 5.922 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3996, allocations: 365.9 kB / 0.504 GB, free: 5.559 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.4008, allocations: 0.8123 MB / 0.5048 GB, free: 4.742 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002106/0.4029, allocations: 1.929 MB / 0.5066 GB, free: 2.254 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003533/0.4065, allocations: 2.928 MB / 0.5095 GB, free: 14.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.715e-05/0.4065, allocations: 12 kB / 0.5095 GB, free: 14.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004291/0.4108, allocations: 2.794 MB / 0.5122 GB, free: 11.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.177e-05/0.4108, allocations: 23.98 kB / 0.5123 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-05/0.4109, allocations: 44 kB / 0.5123 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.617e-05/0.4109, allocations: 52 kB / 0.5124 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/0.4126, allocations: 0.542 MB / 0.5129 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.366e-05/0.4126, allocations: 79.66 kB / 0.513 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.4139, allocations: 310 kB / 0.5133 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/0.4141, allocations: 116 kB / 0.5134 GB, free: 10.81 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.002421/0.4165, allocations: 1.675 MB / 0.515 GB, free: 9.121 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/0.4167, allocations: 143 kB / 0.5151 GB, free: 8.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/0.4189, allocations: 1.334 MB / 0.5164 GB, free: 7.625 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001321/0.4202, allocations: 0.9318 MB / 0.5174 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4202, allocations: 0 / 0.5174 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.4202, allocations: 3.984 kB / 0.5174 GB, free: 6.684 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01763/0.4378, allocations: 13.5 MB / 0.5305 GB, free: 8.277 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.648e-05/0.4379, allocations: 20 kB / 0.5306 GB, free: 8.258 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007518/0.4386, allocations: 211.6 kB / 0.5308 GB, free: 8.051 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-05/0.4386, allocations: 24.81 kB / 0.5308 GB, free: 8.027 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.481e-05/0.4387, allocations: 44 kB / 0.5308 GB, free: 7.984 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.381e-05/0.4388, allocations: 47.73 kB / 0.5309 GB, free: 7.938 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-05/0.4388, allocations: 31.88 kB / 0.5309 GB, free: 7.906 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0031/0.4419, allocations: 2.443 MB / 0.5333 GB, free: 5.172 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006239/0.4425, allocations: 324 kB / 0.5336 GB, free: 4.836 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.4427, allocations: 59.86 kB / 0.5336 GB, free: 4.777 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007013/0.4434, allocations: 59.95 kB / 0.5337 GB, free: 4.719 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.4435, allocations: 131.4 kB / 0.5338 GB, free: 4.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-05/0.4436, allocations: 56 kB / 0.5339 GB, free: 4.535 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001424/0.445, allocations: 0.9877 MB / 0.5348 GB, free: 3.543 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.445, allocations: 3.938 kB / 0.5349 GB, free: 3.539 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002613/0.4476, allocations: 0.9492 MB / 0.5358 GB, free: 2.586 MB / 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.0003478/0.448, allocations: 206.7 kB / 0.536 GB, free: 2.371 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002877/0.4509, allocations: 1.797 MB / 0.5377 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/0.4509, allocations: 1.812 kB / 0.5377 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008371/0.4517, allocations: 0.5586 MB / 0.5383 GB, free: 16 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1737/0.6254, allocations: 374.2 kB / 0.5386 GB, free: 122.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009549/0.635, allocations: 6.958 MB / 0.5454 GB, free: 119.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002628/0.6376, allocations: 3.075 MB / 0.5484 GB, free: 118.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001682/0.6393, allocations: 0.8164 MB / 0.5492 GB, free: 118.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/0.6395, allocations: 109.2 kB / 0.5493 GB, free: 118.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.272e-06/0.6395, allocations: 4 kB / 0.5493 GB, free: 118.2 MB / 462.1 MB Notification: Performance of Templates: time 0.02766/0.6672, allocations: 18.45 MB / 0.5674 GB, free: 104 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches