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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001346/0.001346, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.001425/0.001425, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.378/1.378, allocations: 230.4 MB / 255.4 MB, free: 9.086 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "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.001898/0.001898, allocations: 67.83 kB / 374.7 MB, free: 4.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2407, allocations: 53.32 MB / 428.1 MB, free: 8.102 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01154/0.2523, allocations: 9.777 MB / 437.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005987/0.2583, allocations: 2.771 MB / 440.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.26, allocations: 75.81 kB / 440.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009545/0.2695, allocations: 4.214 MB / 444.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003686/0.2732, allocations: 0.7687 MB / 445.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002888/0.2761, allocations: 0.9671 MB / 446.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00576/0.2819, allocations: 4.064 MB / 450.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01214/0.294, allocations: 8.51 MB / 459.2 MB, free: 8.758 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004057/0.298, allocations: 2.361 MB / 461.6 MB, free: 6.391 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006913/0.305, allocations: 2.663 MB / 464.2 MB, free: 3.719 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002677/0.3076, allocations: 0.6641 MB / 464.9 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004182/0.3118, allocations: 0.8904 MB / 465.8 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002643/0.3145, allocations: 1.247 MB / 467 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007604/0.3221, allocations: 2.556 MB / 469.6 MB, free: 14.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01635/0.3384, allocations: 8.929 MB / 478.5 MB, free: 5.391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.3384, allocations: 0 / 478.5 MB, free: 5.391 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3384, allocations: 3.938 kB / 478.5 MB, free: 5.387 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002556/0.3387, allocations: 4 kB / 478.5 MB, free: 5.383 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.01613/0.3548, allocations: 5.387 MB / 483.9 MB, free: 15.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.3549, allocations: 12.03 kB / 483.9 MB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007654/0.3625, allocations: 1.317 MB / 485.2 MB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004847/0.3674, allocations: 2.615 MB / 487.9 MB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003039/0.3677, allocations: 349.3 kB / 488.2 MB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008574/0.3685, allocations: 459.9 kB / 488.6 MB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01249/0.381, allocations: 6.102 MB / 494.7 MB, free: 4.988 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.771e-05/0.3811, allocations: 0 / 494.7 MB, free: 4.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004511/0.3816, allocations: 188 kB / 494.9 MB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00022/0.3818, allocations: 193.5 kB / 495.1 MB, free: 4.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/0.3921, allocations: 5.284 MB / 0.4887 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0429/0.435, allocations: 21.02 MB / 0.5092 GB, free: 9.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/0.4451, allocations: 5.498 MB / 0.5146 GB, free: 3.301 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/0.4467, allocations: 0.5926 MB / 0.5152 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000312/0.447, allocations: 199.2 kB / 0.5153 GB, free: 2.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.4471, allocations: 43.56 kB / 0.5154 GB, free: 2.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.705e-06/0.4471, allocations: 0 / 0.5154 GB, free: 2.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.003559/0.4506, allocations: 1.44 MB / 0.5168 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.4507, allocations: 60.41 kB / 0.5168 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002446/0.4532, allocations: 1.466 MB / 0.5183 GB, free: 15.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.509e-05/0.4532, allocations: 37.7 kB / 0.5183 GB, free: 15.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001559/0.4548, allocations: 2.045 MB / 0.5203 GB, free: 13.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003648/0.4551, allocations: 365.1 kB / 0.5207 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006743/0.4558, allocations: 479.9 kB / 0.5211 GB, free: 12.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.456, allocations: 361.9 kB / 0.5215 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.4572, allocations: 0.8085 MB / 0.5223 GB, free: 11.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002345/0.4596, allocations: 1.937 MB / 0.5241 GB, free: 8.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003769/0.4633, allocations: 2.931 MB / 0.527 GB, free: 5.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.16e-05/0.4634, allocations: 12 kB / 0.527 GB, free: 5.328 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004502/0.4679, allocations: 2.802 MB / 0.5298 GB, free: 2.523 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/0.4679, allocations: 24 kB / 0.5298 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.875e-05/0.468, allocations: 40 kB / 0.5298 GB, free: 2.461 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.147e-05/0.468, allocations: 52 kB / 0.5299 GB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/0.4697, allocations: 0.5381 MB / 0.5304 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.739e-05/0.4698, allocations: 79.72 kB / 0.5305 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.4712, allocations: 310.1 kB / 0.5308 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/0.4714, allocations: 124 kB / 0.5309 GB, free: 1.367 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.00277/0.4741, allocations: 1.671 MB / 0.5325 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003046/0.4744, allocations: 135.1 kB / 0.5326 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/0.4767, allocations: 1.345 MB / 0.534 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001351/0.478, allocations: 0.9318 MB / 0.5349 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.478, allocations: 0 / 0.5349 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.4781, allocations: 3.984 kB / 0.5349 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2858/0.7639, allocations: 13.5 MB / 0.5481 GB, free: 110.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.012e-05/0.7639, allocations: 19.25 kB / 0.5481 GB, free: 110.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008694/0.7648, allocations: 215.4 kB / 0.5483 GB, free: 110.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-05/0.7648, allocations: 28.44 kB / 0.5483 GB, free: 110.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.1e-05/0.7649, allocations: 49.08 kB / 0.5484 GB, free: 110.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-05/0.7649, allocations: 41.25 kB / 0.5484 GB, free: 110.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.077e-05/0.765, allocations: 30.59 kB / 0.5484 GB, free: 110.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00322/0.7682, allocations: 2.452 MB / 0.5508 GB, free: 109.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005371/0.7687, allocations: 326.6 kB / 0.5511 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.7689, allocations: 50.05 kB / 0.5512 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006833/0.7696, allocations: 64.12 kB / 0.5512 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.7697, allocations: 135.8 kB / 0.5514 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.55e-05/0.7698, allocations: 50.05 kB / 0.5514 GB, free: 109.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001414/0.7712, allocations: 0.9984 MB / 0.5524 GB, free: 108.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.7712, allocations: 0 / 0.5524 GB, free: 108.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002942/0.7741, allocations: 0.9477 MB / 0.5533 GB, free: 108.6 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.0004036/0.7746, allocations: 200.4 kB / 0.5535 GB, free: 108.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003298/0.7778, allocations: 1.804 MB / 0.5553 GB, free: 107.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.752e-05/0.7779, allocations: 4.438 kB / 0.5553 GB, free: 107.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007341/0.7786, allocations: 0.5657 MB / 0.5558 GB, free: 107.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/0.7809, allocations: 382.7 kB / 0.5562 GB, free: 107.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.7912, allocations: 6.789 MB / 0.5628 GB, free: 104 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00223/0.7934, allocations: 2.996 MB / 0.5657 GB, free: 102.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004163/0.7938, allocations: 141.1 kB / 0.5659 GB, free: 102.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.483e-06/0.7938, allocations: 0 / 0.5659 GB, free: 102.6 MB / 462.1 MB Notification: Performance of Templates: time 0.04976/0.8436, allocations: 39.11 MB / 0.6041 GB, free: 66.43 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 9.87822247785516]