Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 207.7 MB / 235.3 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 51.88 kB / 347.7 MB, free: 9.461 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2684, allocations: 49.15 MB / 396.9 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.009932/0.2783, allocations: 8.79 MB / 405.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006147/0.2845, allocations: 2.73 MB / 408.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001926/0.2864, allocations: 71.94 kB / 408.4 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009269/0.2957, allocations: 3.914 MB / 412.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004258/0.2999, allocations: 0.8806 MB / 413.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002918/0.3028, allocations: 0.944 MB / 414.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005996/0.3088, allocations: 4.312 MB / 418.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01263/0.3215, allocations: 7.116 MB / 425.6 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004243/0.3257, allocations: 2.517 MB / 428.1 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004799/0.3305, allocations: 2.694 MB / 430.8 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001619/0.3321, allocations: 0.6797 MB / 431.5 MB, free: 384 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002645/0.3348, allocations: 0.8826 MB / 432.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001558/0.3363, allocations: 1.325 MB / 433.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002954/0.3393, allocations: 2.074 MB / 435.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009879/0.3492, allocations: 9.14 MB / 444.9 MB, free: 2.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3492, allocations: 7.875 kB / 444.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3492, allocations: 0 / 444.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000194/0.3494, allocations: 4 kB / 444.9 MB, free: 2.906 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01408/0.3634, allocations: 5.597 MB / 450.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3635, allocations: 15.98 kB / 450.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.014/0.3775, allocations: 2.417 MB / 453 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006522/0.384, allocations: 2.376 MB / 455.3 MB, free: 8.406 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003869/0.3844, allocations: 369.9 kB / 455.7 MB, free: 8.043 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001381/0.3858, allocations: 476 kB / 456.2 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01306/0.3988, allocations: 6.669 MB / 462.8 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/0.3989, allocations: 3.953 kB / 462.8 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004767/0.3994, allocations: 196 kB / 463 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002465/0.3997, allocations: 222.1 kB / 463.3 MB, free: 464 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01168/0.4113, allocations: 6.094 MB / 469.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0332/0.4445, allocations: 18.97 MB / 488.3 MB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007781/0.4523, allocations: 3.031 MB / 491.3 MB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/0.4536, allocations: 0.7368 MB / 492.1 MB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005216/0.4588, allocations: 1.987 MB / 494.1 MB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.395e-05/0.4589, allocations: 38.44 kB / 494.1 MB, free: 1.113 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.184e-06/0.4589, allocations: 4 kB / 494.1 MB, free: 1.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005347/0.4594, allocations: 236.7 kB / 494.3 MB, free: 0.8711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.4595, allocations: 51.41 kB / 494.4 MB, free: 0.8086 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003232/0.4627, allocations: 2.249 MB / 496.6 MB, free: 14.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.4627, allocations: 25.7 kB / 496.7 MB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001851/0.4646, allocations: 2.482 MB / 499.1 MB, free: 12.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.753e-05/0.4647, allocations: 71.8 kB / 499.2 MB, free: 11.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007681/0.4654, allocations: 0.5433 MB / 499.8 MB, free: 11.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.4656, allocations: 357.9 kB / 0.4884 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.4669, allocations: 0.8127 MB / 0.4892 GB, free: 10.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002476/0.4694, allocations: 2.243 MB / 0.4914 GB, free: 7.262 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003531/0.4729, allocations: 2.957 MB / 0.4943 GB, free: 3.598 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-05/0.4729, allocations: 20 kB / 0.4943 GB, free: 3.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.004818/0.4777, allocations: 3.021 MB / 0.4972 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.318e-05/0.4778, allocations: 24 kB / 0.4973 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-05/0.4778, allocations: 52 kB / 0.4973 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.465e-05/0.4779, allocations: 71.94 kB / 0.4974 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/0.4797, allocations: 0.5693 MB / 0.4979 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.838e-05/0.4798, allocations: 99.58 kB / 0.498 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.4817, allocations: 409.2 kB / 0.4984 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/0.4819, allocations: 152 kB / 0.4986 GB, free: 15.19 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (307): * Single equations (assignments): 306 * 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.002612/0.4845, allocations: 1.726 MB / 0.5002 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.4847, allocations: 139.1 kB / 0.5004 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004519/0.4852, allocations: 251 kB / 0.5006 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001276/0.4853, allocations: 93.67 kB / 0.5007 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.4853, allocations: 3.938 kB / 0.5007 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4853, allocations: 3.938 kB / 0.5007 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003556/0.4889, allocations: 1.958 MB / 0.5026 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.4889, allocations: 7.969 kB / 0.5026 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.737e-05/0.489, allocations: 8 kB / 0.5026 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.489, allocations: 7.984 kB / 0.5026 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.489, allocations: 7.938 kB / 0.5027 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.489, allocations: 0 / 0.5027 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.489, allocations: 0 / 0.5027 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004794/0.4895, allocations: 375.1 kB / 0.503 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/0.4898, allocations: 151.1 kB / 0.5032 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.49, allocations: 7.922 kB / 0.5032 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004767/0.4905, allocations: 23.97 kB / 0.5032 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.113e-05/0.4905, allocations: 12.05 kB / 0.5032 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.4905, allocations: 7.938 kB / 0.5032 GB, free: 10.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00203/0.4925, allocations: 1.392 MB / 0.5046 GB, free: 8.953 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4925, allocations: 0 / 0.5046 GB, free: 8.953 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00257/0.4951, allocations: 0.9997 MB / 0.5055 GB, free: 7.949 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 6 * 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.0002348/0.4953, allocations: 131.2 kB / 0.5057 GB, free: 7.809 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002186/0.4975, allocations: 1.395 MB / 0.507 GB, free: 6.422 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4975, allocations: 0 / 0.507 GB, free: 6.422 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.027e-05/0.4976, allocations: 35.92 kB / 0.5071 GB, free: 6.387 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.4992, allocations: 334 kB / 0.5074 GB, free: 6.059 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.5098, allocations: 6.186 MB / 0.5134 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003109/0.5129, allocations: 2.59 MB / 0.516 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001963/0.5148, allocations: 0.7983 MB / 0.5167 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.515, allocations: 99.42 kB / 0.5168 GB, free: 12.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/0.515, allocations: 0 / 0.5168 GB, free: 12.3 MB / 446.1 MB Notification: Performance of Templates: time 0.04025/0.5553, allocations: 20.71 MB / 0.5371 GB, free: 7.539 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.325385103002191]