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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 116.5 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002075/0.002075, allocations: 190.7 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 51.92 kB / 366.8 MB, free: 356 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09847/0.1, allocations: 52.14 MB / 419 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01238/0.1124, allocations: 9.769 MB / 428.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006057/0.1184, allocations: 2.701 MB / 431.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.1201, allocations: 75.81 kB / 431.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01155/0.1317, allocations: 4.22 MB / 435.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005017/0.1367, allocations: 0.932 MB / 436.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003405/0.1401, allocations: 0.8174 MB / 437.5 MB, free: 9.527 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00776/0.1479, allocations: 4.073 MB / 441.5 MB, free: 5.441 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2325/0.3804, allocations: 8.485 MB / 450 MB, free: 9.035 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003163/0.3835, allocations: 2.354 MB / 452.4 MB, free: 8.867 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00484/0.3884, allocations: 2.657 MB / 455 MB, free: 8.426 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001905/0.3903, allocations: 0.662 MB / 455.7 MB, free: 8.426 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003364/0.3936, allocations: 0.8769 MB / 456.6 MB, free: 8.426 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002367/0.396, allocations: 1.247 MB / 457.8 MB, free: 8.273 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006113/0.4021, allocations: 2.553 MB / 460.4 MB, free: 7.676 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01177/0.4139, allocations: 8.915 MB / 469.3 MB, free: 5.812 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.4139, allocations: 1.312 kB / 469.3 MB, free: 5.812 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4139, allocations: 0 / 469.3 MB, free: 5.812 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002789/0.4142, allocations: 0 / 469.3 MB, free: 5.812 MB / 366.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.01772/0.4319, allocations: 5.409 MB / 474.7 MB, free: 2.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.4319, allocations: 12.8 kB / 474.7 MB, free: 2.246 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008484/0.4404, allocations: 1.318 MB / 476 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005614/0.446, allocations: 2.605 MB / 478.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003788/0.4464, allocations: 348 kB / 479 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001474/0.4479, allocations: 453.9 kB / 479.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01482/0.4627, allocations: 6.102 MB / 485.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001129/0.4628, allocations: 7.922 kB / 485.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005724/0.4634, allocations: 183.5 kB / 485.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001448/0.4635, allocations: 195.2 kB / 485.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0117/0.4752, allocations: 5.282 MB / 491.2 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03909/0.5143, allocations: 20.77 MB / 0.5 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006999/0.5213, allocations: 5.482 MB / 0.5053 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/0.5225, allocations: 0.6043 MB / 0.5059 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.5226, allocations: 109.5 kB / 0.506 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.5227, allocations: 39.56 kB / 0.506 GB, free: 13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 3.186e-06/0.5227, allocations: 0 / 0.506 GB, free: 13 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.002558/0.5252, allocations: 1.436 MB / 0.5074 GB, free: 11.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.5253, allocations: 60.41 kB / 0.5075 GB, free: 11.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002665/0.528, allocations: 1.458 MB / 0.5089 GB, free: 10.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001157/0.5281, allocations: 41.7 kB / 0.509 GB, free: 9.973 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001506/0.5296, allocations: 2.046 MB / 0.511 GB, free: 7.922 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003402/0.5299, allocations: 374.5 kB / 0.5113 GB, free: 7.559 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006677/0.5306, allocations: 471.9 kB / 0.5118 GB, free: 7.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.5308, allocations: 356.6 kB / 0.5121 GB, free: 6.738 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/0.532, allocations: 0.8046 MB / 0.5129 GB, free: 5.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002133/0.5341, allocations: 1.942 MB / 0.5148 GB, free: 3.453 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003607/0.5377, allocations: 2.925 MB / 0.5177 GB, free: 144 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.841e-05/0.5378, allocations: 15.94 kB / 0.5177 GB, free: 128 kB / 414.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004618/0.5424, allocations: 2.796 MB / 0.5204 GB, free: 13.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.679e-05/0.5424, allocations: 20 kB / 0.5204 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.903e-05/0.5425, allocations: 40 kB / 0.5205 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.478e-05/0.5426, allocations: 55.98 kB / 0.5205 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/0.5444, allocations: 0.5379 MB / 0.521 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.704e-05/0.5445, allocations: 77.97 kB / 0.5211 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/0.5462, allocations: 302.4 kB / 0.5214 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002376/0.5465, allocations: 124 kB / 0.5215 GB, free: 12.47 MB / 430.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.003529/0.55, allocations: 1.668 MB / 0.5231 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003511/0.5503, allocations: 135.1 kB / 0.5233 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/0.5528, allocations: 1.335 MB / 0.5246 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001364/0.5542, allocations: 0.9354 MB / 0.5255 GB, free: 8.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.5542, allocations: 4 kB / 0.5255 GB, free: 8.406 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.5542, allocations: 5.297 kB / 0.5255 GB, free: 8.402 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01898/0.5732, allocations: 12.2 MB / 0.5374 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.452e-05/0.5732, allocations: 20.22 kB / 0.5374 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008122/0.574, allocations: 222 kB / 0.5376 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.771e-05/0.5741, allocations: 24 kB / 0.5377 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.96e-05/0.5741, allocations: 44 kB / 0.5377 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.108e-05/0.5742, allocations: 35.11 kB / 0.5377 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-05/0.5742, allocations: 38.91 kB / 0.5378 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003446/0.5776, allocations: 2.449 MB / 0.5402 GB, free: 8.684 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006515/0.5783, allocations: 327.9 kB / 0.5405 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/0.5785, allocations: 47.98 kB / 0.5405 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007338/0.5792, allocations: 64.78 kB / 0.5406 GB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.5794, allocations: 126.2 kB / 0.5407 GB, free: 8.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.153e-05/0.5795, allocations: 63.92 kB / 0.5408 GB, free: 8.062 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001637/0.5811, allocations: 0.9915 MB / 0.5417 GB, free: 7.066 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5811, allocations: 4 kB / 0.5417 GB, free: 7.062 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003156/0.5843, allocations: 0.953 MB / 0.5427 GB, free: 6.105 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.000456/0.5847, allocations: 209.7 kB / 0.5429 GB, free: 5.914 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003276/0.588, allocations: 1.793 MB / 0.5446 GB, free: 4.273 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.31e-05/0.588, allocations: 4.125 kB / 0.5446 GB, free: 4.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.589, allocations: 0.5595 MB / 0.5452 GB, free: 3.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/0.5917, allocations: 377.2 kB / 0.5455 GB, free: 3.418 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/0.6053, allocations: 6.841 MB / 0.5522 GB, free: 12.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003753/0.6091, allocations: 2.988 MB / 0.5551 GB, free: 9.305 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005291/0.6096, allocations: 131.4 kB / 0.5553 GB, free: 9.176 MB / 462.1 MB Notification: Performance of SimCode: time 1.794e-06/0.6096, allocations: 0 / 0.5553 GB, free: 9.176 MB / 462.1 MB Notification: Performance of Templates: time 0.06178/0.6714, allocations: 38.73 MB / 0.5931 GB, free: 2.535 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 10.480081849964336]