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.00773/0.00773, allocations: 103.4 kB / 21.98 MB, free: 5.227 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.002059/0.002059, allocations: 222.4 kB / 25.3 MB, free: 3.191 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.426/1.426, allocations: 230.6 MB / 259 MB, free: 8.027 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.001991/0.001991, allocations: 63.88 kB / 379.8 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2412, allocations: 53.37 MB / 433.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01702/0.2582, allocations: 9.809 MB / 443 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006455/0.2646, allocations: 2.775 MB / 445.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.266, allocations: 95.5 kB / 445.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009485/0.2755, allocations: 4.222 MB / 450.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003179/0.2787, allocations: 0.7882 MB / 450.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002548/0.2813, allocations: 0.9741 MB / 451.8 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005174/0.2864, allocations: 4.095 MB / 455.9 MB, free: 124 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01024/0.2967, allocations: 7.118 MB / 463.1 MB, free: 8.883 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003331/0.3, allocations: 2.416 MB / 465.5 MB, free: 6.461 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004078/0.3041, allocations: 2.655 MB / 468.1 MB, free: 3.797 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001271/0.3054, allocations: 0.668 MB / 468.8 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002329/0.3077, allocations: 0.8982 MB / 469.7 MB, free: 2.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001325/0.309, allocations: 1.235 MB / 470.9 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004283/0.3133, allocations: 2.564 MB / 473.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.3248, allocations: 8.925 MB / 482.4 MB, free: 5.465 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3248, allocations: 0 / 482.4 MB, free: 5.465 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3248, allocations: 0 / 482.4 MB, free: 5.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002482/0.3251, allocations: 0 / 482.4 MB, free: 5.465 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.0143/0.3394, allocations: 5.331 MB / 487.7 MB, free: 80 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3394, allocations: 8.031 kB / 487.8 MB, free: 72 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007899/0.3473, allocations: 1.324 MB / 489.1 MB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005349/0.3527, allocations: 2.603 MB / 491.7 MB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002909/0.353, allocations: 345.4 kB / 492 MB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009939/0.3539, allocations: 459.9 kB / 492.5 MB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01261/0.3666, allocations: 6.094 MB / 498.6 MB, free: 5.188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.753e-05/0.3666, allocations: 11.94 kB / 498.6 MB, free: 5.176 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004502/0.3671, allocations: 195.9 kB / 498.8 MB, free: 4.984 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001942/0.3673, allocations: 197.5 kB / 499 MB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009902/0.3772, allocations: 5.276 MB / 0.4924 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0315/0.4087, allocations: 20.22 MB / 0.5122 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00465/0.4134, allocations: 2.104 MB / 0.5142 GB, free: 8.609 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009343/0.4143, allocations: 0.5923 MB / 0.5148 GB, free: 8.016 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001646/0.4144, allocations: 56.92 kB / 0.5149 GB, free: 7.957 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.4145, allocations: 47.44 kB / 0.5149 GB, free: 7.902 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.565e-06/0.4145, allocations: 0 / 0.5149 GB, free: 7.902 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002271/0.4168, allocations: 1.433 MB / 0.5163 GB, free: 6.465 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.4168, allocations: 64.41 kB / 0.5164 GB, free: 6.387 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/0.4189, allocations: 1.466 MB / 0.5178 GB, free: 4.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.544e-05/0.4189, allocations: 41.7 kB / 0.5178 GB, free: 4.863 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001352/0.4203, allocations: 2.037 MB / 0.5198 GB, free: 2.805 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/0.4206, allocations: 369.1 kB / 0.5202 GB, free: 2.441 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006096/0.4212, allocations: 483.8 kB / 0.5206 GB, free: 1.961 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.4214, allocations: 353.9 kB / 0.521 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.4225, allocations: 0.8084 MB / 0.5218 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002072/0.4246, allocations: 1.945 MB / 0.5237 GB, free: 14.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003562/0.4282, allocations: 2.931 MB / 0.5265 GB, free: 10.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-05/0.4282, allocations: 12 kB / 0.5265 GB, free: 10.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004682/0.4329, allocations: 2.802 MB / 0.5293 GB, free: 7.988 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.596e-05/0.4329, allocations: 27.92 kB / 0.5293 GB, free: 7.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.086e-05/0.433, allocations: 40 kB / 0.5293 GB, free: 7.922 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.861e-05/0.4331, allocations: 55.98 kB / 0.5294 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/0.4347, allocations: 0.542 MB / 0.5299 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.397e-05/0.4348, allocations: 79.66 kB / 0.53 GB, free: 7.246 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.4361, allocations: 302.4 kB / 0.5303 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/0.4363, allocations: 124 kB / 0.5304 GB, free: 6.828 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.0024/0.4387, allocations: 1.668 MB / 0.532 GB, free: 5.148 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/0.4389, allocations: 135 kB / 0.5322 GB, free: 5.016 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.4411, allocations: 1.342 MB / 0.5335 GB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001383/0.4425, allocations: 0.9357 MB / 0.5344 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.4425, allocations: 0 / 0.5344 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.4425, allocations: 7.922 kB / 0.5344 GB, free: 2.711 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2511/0.6936, allocations: 11.1 MB / 0.5452 GB, free: 92.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.119e-05/0.6937, allocations: 19.62 kB / 0.5452 GB, free: 92.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007029/0.6944, allocations: 207.2 kB / 0.5454 GB, free: 92.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.115e-05/0.6944, allocations: 29.94 kB / 0.5455 GB, free: 92.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.477e-05/0.6944, allocations: 51.48 kB / 0.5455 GB, free: 92.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.203e-05/0.6945, allocations: 35.97 kB / 0.5456 GB, free: 92.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.536e-05/0.6945, allocations: 31.59 kB / 0.5456 GB, free: 92.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/0.6968, allocations: 2.466 MB / 0.548 GB, free: 91.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005576/0.6974, allocations: 261.2 kB / 0.5482 GB, free: 91.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.6975, allocations: 43.42 kB / 0.5483 GB, free: 91.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007153/0.6983, allocations: 62.44 kB / 0.5483 GB, free: 91.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.6984, allocations: 135.9 kB / 0.5485 GB, free: 91.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.88e-05/0.6985, allocations: 58.5 kB / 0.5485 GB, free: 91.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001246/0.6997, allocations: 0.9868 MB / 0.5495 GB, free: 90.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6997, allocations: 0 / 0.5495 GB, free: 90.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002412/0.7021, allocations: 0.9531 MB / 0.5504 GB, free: 90.68 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.0003322/0.7024, allocations: 204.9 kB / 0.5506 GB, free: 90.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002267/0.7047, allocations: 1.803 MB / 0.5524 GB, free: 89.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/0.7047, allocations: 5.844 kB / 0.5524 GB, free: 89.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007002/0.7054, allocations: 0.5616 MB / 0.5529 GB, free: 89.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.7075, allocations: 388.6 kB / 0.5533 GB, free: 89.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009617/0.7171, allocations: 6.787 MB / 0.5599 GB, free: 84.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002075/0.7192, allocations: 2.991 MB / 0.5629 GB, free: 81.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004117/0.7196, allocations: 147.4 kB / 0.563 GB, free: 81.84 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.7196, allocations: 0 / 0.563 GB, free: 81.84 MB / 446.1 MB Notification: Performance of Templates: time 0.04471/0.7643, allocations: 39.16 MB / 0.6012 GB, free: 42.73 MB / 446.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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.071501033147797]