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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001662/0.001662, allocations: 106.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00243/0.00243, allocations: 218.8 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 230.2 MB / 256.2 MB, free: 8.551 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 63.89 kB / 376.5 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2407, allocations: 53.33 MB / 429.8 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01243/0.2532, allocations: 9.809 MB / 439.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006087/0.2593, allocations: 2.775 MB / 442.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.2606, allocations: 71.81 kB / 442.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009597/0.2702, allocations: 4.211 MB / 446.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003624/0.2739, allocations: 0.7718 MB / 447.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003027/0.2769, allocations: 0.9689 MB / 448.4 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005762/0.2827, allocations: 4.054 MB / 452.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01087/0.2935, allocations: 6.782 MB / 459.2 MB, free: 9.871 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003359/0.2969, allocations: 2.373 MB / 461.6 MB, free: 7.492 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004211/0.3011, allocations: 2.651 MB / 464.3 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001069/0.3022, allocations: 0.6641 MB / 464.9 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.304, allocations: 0.8982 MB / 465.8 MB, free: 3.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.3051, allocations: 1.243 MB / 467.1 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00342/0.3085, allocations: 2.56 MB / 469.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.3188, allocations: 8.926 MB / 478.6 MB, free: 6.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.3188, allocations: 3.938 kB / 478.6 MB, free: 6.496 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3188, allocations: 0 / 478.6 MB, free: 6.496 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002546/0.3191, allocations: 0 / 478.6 MB, free: 6.496 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.01446/0.3336, allocations: 5.395 MB / 484 MB, free: 1.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3336, allocations: 8.031 kB / 484 MB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008337/0.3419, allocations: 1.321 MB / 485.3 MB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005671/0.3476, allocations: 2.623 MB / 487.9 MB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004207/0.348, allocations: 353.2 kB / 488.3 MB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002347/0.3504, allocations: 452 kB / 488.7 MB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01719/0.3676, allocations: 6.102 MB / 494.8 MB, free: 6.094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002046/0.3678, allocations: 4 kB / 494.8 MB, free: 6.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001178/0.369, allocations: 184 kB / 495 MB, free: 5.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002251/0.3692, allocations: 197.5 kB / 495.2 MB, free: 5.715 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01363/0.3828, allocations: 5.28 MB / 0.4887 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0391/0.4219, allocations: 21.02 MB / 0.5093 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007016/0.4289, allocations: 5.493 MB / 0.5146 GB, free: 4.418 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.43, allocations: 0.6043 MB / 0.5152 GB, free: 3.816 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002577/0.4303, allocations: 191.2 kB / 0.5154 GB, free: 3.594 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.4303, allocations: 47.55 kB / 0.5154 GB, free: 3.539 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.775e-06/0.4303, allocations: 0 / 0.5154 GB, free: 3.539 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002458/0.4328, allocations: 1.44 MB / 0.5168 GB, free: 2.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.4329, allocations: 60.41 kB / 0.5169 GB, free: 2.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002581/0.4354, allocations: 1.462 MB / 0.5183 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.283e-05/0.4355, allocations: 41.7 kB / 0.5184 GB, free: 0.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001577/0.4371, allocations: 2.041 MB / 0.5204 GB, free: 14.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003919/0.4375, allocations: 365 kB / 0.5207 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007493/0.4382, allocations: 483.9 kB / 0.5212 GB, free: 13.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.4384, allocations: 357.9 kB / 0.5215 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.4398, allocations: 0.8162 MB / 0.5223 GB, free: 12.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002217/0.442, allocations: 1.937 MB / 0.5242 GB, free: 9.922 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00391/0.4459, allocations: 2.924 MB / 0.5271 GB, free: 6.449 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.76e-05/0.4459, allocations: 16 kB / 0.5271 GB, free: 6.434 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.005308/0.4512, allocations: 2.802 MB / 0.5298 GB, free: 3.625 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.543e-05/0.4513, allocations: 20 kB / 0.5298 GB, free: 3.605 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.508e-05/0.4514, allocations: 40 kB / 0.5299 GB, free: 3.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.375e-05/0.4515, allocations: 56 kB / 0.5299 GB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/0.4533, allocations: 0.5342 MB / 0.5304 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.743e-05/0.4533, allocations: 83.59 kB / 0.5305 GB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.4551, allocations: 306 kB / 0.5308 GB, free: 2.594 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003111/0.4554, allocations: 124 kB / 0.5309 GB, free: 2.473 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.003295/0.4587, allocations: 1.671 MB / 0.5326 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003812/0.459, allocations: 135.1 kB / 0.5327 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2238/0.6829, allocations: 1.334 MB / 0.534 GB, free: 96.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001264/0.6841, allocations: 0.9365 MB / 0.5349 GB, free: 96.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.6841, allocations: 0 / 0.5349 GB, free: 96.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.6842, allocations: 5.672 kB / 0.5349 GB, free: 96.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/0.6974, allocations: 13.51 MB / 0.5481 GB, free: 89.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.213e-05/0.6974, allocations: 22.41 kB / 0.5481 GB, free: 89.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006853/0.6981, allocations: 211.3 kB / 0.5483 GB, free: 89.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-05/0.6981, allocations: 23.09 kB / 0.5483 GB, free: 89.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.826e-05/0.6982, allocations: 46.72 kB / 0.5484 GB, free: 89.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.082e-05/0.6982, allocations: 41.22 kB / 0.5484 GB, free: 89.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-05/0.6983, allocations: 35.88 kB / 0.5485 GB, free: 89.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/0.7004, allocations: 2.463 MB / 0.5509 GB, free: 88.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004437/0.7008, allocations: 326.6 kB / 0.5512 GB, free: 87.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.701, allocations: 47.33 kB / 0.5512 GB, free: 87.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006509/0.7016, allocations: 58.56 kB / 0.5513 GB, free: 87.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.7018, allocations: 133.1 kB / 0.5514 GB, free: 87.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.358e-05/0.7018, allocations: 58.27 kB / 0.5515 GB, free: 87.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001129/0.703, allocations: 0.9864 MB / 0.5524 GB, free: 87.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.703, allocations: 0 / 0.5524 GB, free: 87.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002538/0.7055, allocations: 0.9541 MB / 0.5534 GB, free: 87.3 MB / 446.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.0003667/0.7059, allocations: 204.4 kB / 0.5536 GB, free: 87.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00266/0.7085, allocations: 1.802 MB / 0.5553 GB, free: 86.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.7085, allocations: 4 kB / 0.5553 GB, free: 86.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006566/0.7092, allocations: 0.5565 MB / 0.5559 GB, free: 86.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/0.7112, allocations: 385.6 kB / 0.5562 GB, free: 85.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009128/0.7203, allocations: 6.91 MB / 0.563 GB, free: 78.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002131/0.7224, allocations: 3.079 MB / 0.566 GB, free: 75.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001565/0.724, allocations: 0.8181 MB / 0.5668 GB, free: 74.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.7242, allocations: 119.4 kB / 0.5669 GB, free: 74.47 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.7242, allocations: 0 / 0.5669 GB, free: 74.47 MB / 446.1 MB Notification: Performance of Templates: time 0.0307/0.7549, allocations: 19.15 MB / 0.5856 GB, free: 55.43 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.289342884905636]